Jan Janak wrote:
On Fri, Jul 9, 2010 at 7:19 AM, Stefan Sayer
<[email protected]> wrote:
Hi,

now I don't understand this:

I created local branch 1.2 to track 1.2 branch with
$ git branch  --track 1.2 origin/1.2
and checked it out with
$ git checkout 1.2

Btw, you can do the same with git checkout -b 1.2 origin/1.2
thanks :)


then I cherry-picked some things from master and added some commit, and
wanted to do
$ git push
which failed:

----
Counting objects: 45, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (32/32), done.
Writing objects: 100% (41/41), 5.63 KiB, done.
Total 41 (delta 30), reused 9 (delta 9)
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/1.2
To ssh://[email protected]/sems
 ! [remote rejected] 1.2 -> 1.2 (hook declined)
error: failed to push some refs to 'ssh://[email protected]/sems'
----

Access to individual branches is controlled with the file
info/allowed-users in the git repository. I just checked the file and
only the root had access to the 1.2. I changed that, could you try
again?
ah, that worked.

thanks a lot!
Stefan


_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to