Re: Creating new remote branch: Fatal error.. but still seem to have worked
| From: | Alexander Moskaliov | Date: | Sat, 07 Apr 2012 10:56:17 +0000 |
| Subject: | Re: Creating new remote branch: Fatal error.. but still seem to have worked | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969383768@lists.php.net to get a copy of this message | ||
Fixed
With regards, Alexander Moskaliov
Irker@irker.net
2012/4/7 Hannes Magnusson <hannes.magnusson@gmail.com>
> 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
>