Changes between Version 8 and Version 9 of faq/git


Ignore:
Timestamp:
Sep 7, 2010, 11:39:35 PM (15 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/git

    v8 v9  
     1[[PageOutline]]
    12= Does May First/People Link have a shared git installation I can use? =
     3
     4== User Explanation ==
    25
    36[http://git-scm.com/ git] is a [WikiPedia:Revision_Control_System revision control system]. It is often used as a tool to help developers collaborate on a software or web site project. It helps track changes made to files by multiple people.
     
    2730 * Next add the MFPL git repo as a remote:
    2831{{{
    29 git remote add origin gitosis@git.mayfirst.org:myproject.git
     32git remote add mfpl gitosis@git.mayfirst.org:myname/myproject.git
    3033}}}
    3134 * And then the moment of truth:
    3235{{{
    33 git push origin master:refs/heads/master
     36git push mfpl master
    3437}}}
    35  * If you don't want to specify origin master:refs/heads/master every time you want to push, you can edit your .git/config file and copy the fetch line in the origin stanza, replacing fetch with push. For example:
     38 * If you don't want to specify mfpl masterr every time you want to push, you can edit your .git/config file and copy the fetch line in the mfpl stanza, replacing fetch with push. For example:
    3639{{{
    37 [remote "origin"]
     40[remote "mfpl"]
    3841  url = gitosis@git.mayfirst.org:myproject.git
    39   fetch = +refs/heads/*:refs/remotes/origin/*
    40   push = +refs/heads/*:refs/remotes/origin/*
     42  fetch = +refs/heads/*:refs/remotes/mfpl/*
     43  push = +refs/heads/*:refs/remotes/mfpl/*
    4144}}}
     45
     46== Admin Setup ==
     47
     48