$ git branch master * outbound
Also, $ git branch -r origin/3.1 origin/3.2 origin/3.3 origin/HEAD -> origin/master ... origin/pd/outbound origin/pd/websocket ...
When I do a new clone of the repository and checkout the branch I get this, $ git clone ssh://pd@git.sip-router.org/sip-router kamailio2 Cloning into 'kamailio2'... remote: Counting objects: 133561, done. remote: Compressing objects: 100% (32070/32070), done. remote: Total 133561 (delta 94741), reused 129195 (delta 90624) Receiving objects: 100% (133561/133561), 34.09 MiB | 1.72 MiB/s, done. Resolving deltas: 100% (94741/94741), done. $ cd kamailio2/ $ git checkout -b outbound origin/pd/outbound Branch outbound set up to track remote branch pd/outbound from origin. Switched to a new branch 'outbound'
Regards,
Peter
Hello,
what is the output of 'git branch'?
Cheers, Daniel
On 8/14/12 1:09 AM, Peter Dunkley wrote:
Hi,
I've been having some problems with git this evening.
Earlier today (at the office) I created a branch to start the Outbound development on.
This evening (at home, on another computer) I checked out this branch using "git checkout -b outbound origin/pd/outbound"
I added some files, made some changes, and committed them to the local branch, but I can't seem to push these changes.
When I do "git push" I get "Everything up-to-date" - which is not the case. When I try something more specific like "git push origin origin/pd/outbound" I get:
Total 0 (delta 0), reused 0 (delta 0) remote: error: hook declined to update refs/remotes/origin/pd/outbound To ssh://pd@git.sip-router.org/sip-router ! [remote rejected] origin/pd/outbound -> origin/pd/outbound (hook declined) error: failed to push some refs to 'ssh://pd@git.sip-router.org/sip-router'
I have pushed some fixes to master this evening from this same computer
so it must be something to do with the branch or the "git push" operation itself.
I'm sure I've just done something stupid... but I can't think what it might be.
Regards,
Peter
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw