Timeline for Set up git to pull and push all branches
Current License: CC BY-SA 2.5
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 25, 2016 at 15:48 | comment | added | Ivan | A separate git push --tags origin is required to push the tags. This can be verified easily as when git push --tags origin is rerun the behaviour is different, saying it is all up to date. | |
Nov 25, 2016 at 15:46 | comment | added | Ivan | On my git 1.9.5 git push --all origin does not push all tags. It pushes all branches. | |
Apr 21, 2016 at 7:36 | comment | added | hasanghaforian |
Now default value for push.default is simple .
|
|
Dec 23, 2015 at 8:49 | comment | added | Jakub Narębski | @BrianLacy it looks to me like you have quotes around the refspec in the configuration. Just open config file in editor and check. | |
Dec 22, 2015 at 23:04 | comment | added | Brian Lacy |
I tried this and got an error on push: fatal: Invalid refspec ''+refs/heads/*:refs/heads/*'' (Note: I'm on git 2.0. I'm still working out how to fix this.)
|
|
Sep 7, 2014 at 13:17 | comment | added | mike | This has changed since git 2.0. Push default is simple, not matching any more. | |
Feb 20, 2014 at 13:54 | comment | added | Dereckson | You could improve the answer to add the way to reconfigure Git this way. This is useful for users having set the simple mode. | |
Sep 16, 2013 at 12:51 | comment | added | Jakub Narębski |
@Merc: git push --all origin is good for one time publishing all branches and tags, though default up till current version 'matching' semantic would mean that you would push all branches afterwards... unless you add new branch or tag. The setting to "push [...] all the branches by default" is as written.
|
|
Jun 6, 2012 at 4:42 | history | edited | CommunityBot | CC BY-SA 3.0 |
http://www.kernel.org/pub/software/scm/git/docs/git-config.html was remapped to http://git-scm.com/docs/git-config by Sam Saffron (17174)
|
Dec 16, 2009 at 15:35 | vote | accept | lprsd | ||
Sep 21, 2014 at 6:30 | |||||
Dec 16, 2009 at 14:38 | history | answered | Jakub Narębski | CC BY-SA 2.5 |