]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn
I'm not sure this can be solved without web server configuration
[git.ikiwiki.info.git] / doc / bugs / assumes___34__git_push_origin__34___is_sufficient.mdwn
1 [[!template id=gitbranch branch=smcv/ready/git-push-origin-master
2   browse="http://git.pseudorandom.co.uk/smcv/ikiwiki.git/shortlog/refs/heads/ready/git-push-origin-master"
3   author="[[smcv]]"]]
4 [[!tag patch]]
6 git's behaviour when doing "git push origin" is configurable, and the
7 default is going to change in 2.0. In particular, if you've set
8 push.default to "nothing" (the "explicit is better than implicit" option),
9 the regression test will warn:
11     fatal: You didn't specify any refspecs to push, and push.default
12     is "nothing".
13     'git push origin' failed:  at .../lib/IkiWiki/Plugin/git.pm line 220.
15 The solution is to do "git push origin master" instead (but with the
16 configured remote and branch names). --[[smcv]]
18 > [[fixed|done]] --[[Joey]]