Changes between Version 2 and Version 3 of faq/git


Ignore:
Timestamp:
Jan 20, 2010, 1:22:08 AM (16 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/git

    v2 v3  
    2525git push origin master:refs/heads/master
    2626}}}
     27 * 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:
     28{{{
     29[remote "origin"]
     30  url = gitosis@git.mayfirst.org:massmail.git
     31  fetch = +refs/heads/*:refs/remotes/origin/*
     32  push = +refs/heads/*:refs/remotes/origin/*
     33}}}