Changes between Version 2 and Version 3 of faq/git
- Timestamp:
- Jan 20, 2010, 1:22:08 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/git
v2 v3 25 25 git push origin master:refs/heads/master 26 26 }}} 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 }}}