We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a30a3 commit e7f80eaCopy full SHA for e7f80ea
t/t5516-fetch-push.sh
@@ -457,8 +457,7 @@ test_expect_success 'push with HEAD nonexisting at remote' '
457
test_expect_success 'push with +HEAD' '
458
459
mk_test testrepo heads/master &&
460
- git checkout master &&
461
- git checkout -b local &&
+ git checkout -b local master &&
462
test_when_finished "git checkout master; git branch -D local" &&
463
git push testrepo master local &&
464
check_push_result testrepo $the_commit heads/master &&
0 commit comments