Creating new remote branch: Fatal error.. but still seem to have worked
| From: | Hannes Magnusson | Date: | Fri, 06 Apr 2012 20:40:13 +0000 |
| Subject: | Creating new remote branch: Fatal error.. but still seem to have worked | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969383766@lists.php.net to get a copy of this message | ||
Hello
I pushed a new branch (with no changes) just now, and got the
following fatal error.
The branch seems to have been pushed just fine though?
vagrant@lucid32:~/src/phd$ git checkout -b PHD_1_1
Switched to a new branch 'PHD_1_1'
vagrant@lucid32:~/src/phd$ git branch -a
* PHD_1_1
master
remotes/origin/GWYNNE_PLAYS_HERE
remotes/origin/HEAD -> origin/master
remotes/origin/MAIN
remotes/origin/PHD_0_2
remotes/origin/PHD_0_4
remotes/origin/PHD_ENTERPRISE
remotes/origin/RESTRUCTURE
remotes/origin/master
remotes/origin/rsync
vagrant@lucid32:~/src/phd$ git diff PHD_1_1..master
vagrant@lucid32:~/src/phd$ git push origin PHD_1_1
Enter passphrase for key '/home/vagrant/.ssh/id_rsa':
Total 0 (delta 0), reused 0 (delta 0)
remote: Welcome bjori.
remote: Changesets accepted. Thank you for your contribution.
remote:
remote: fatal: ambiguous argument 'refs/heads/MAIN refs/heads/PHD_0_2
refs/heads/PHD_0_4 refs/heads/PHD_1_1 refs/heads/PHD_ENTERPRISE
refs/heads/RESTRUCTURE refs/heads/master refs/heads/rsync': unknown
revision or path not in the working tree.
remote: Use '--' to separate paths from revisions
remote: Attempting to push to mirror
remote: To git@github.com:php/phd.git
remote: * [new branch] PHD_1_1 -> PHD_1_1
To git@git.php.net:/phd.git
* [new branch] PHD_1_1 -> PHD_1_1
-Hannes