]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn
unit tests available
[ikiwiki.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]]
5
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:
10
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.
14
15 The solution is to do "git push origin master" instead (but with the
16 configured remote and branch names). --[[smcv]]
17
18 > [[fixed|done]] --[[Joey]]