git push origin 2.0.rc10
, . 2.0.rc10, .
, , , , (pre-receive hook declined). , .
Some tests
Recovery situation with OP:
git checkout --orphan orphan_branch
git commit -am "stray commit"
git tag -a 2.0.rc10 -m "2.0.rc10"
git checkout master
git branch -D orphan_branch
Wandering Fixation:
git show 2.0.rc10
tag 2.0.rc10
Tagger: ...
Date: Fri Jun 5 11:41:11 2015 +0200
2.0.rc10
commit 78e06b3a4841f88c1737ab8986fd6f3d753e1735
Author: ...
Date: Fri Jun 5 11:41:00 2015 +0200
stray commit

Click
git push origin 2.0.rc10
Username for ...
Password for ...
Counting objects: 2, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 305 bytes | 0 bytes/s, done.
Total 2 (delta 0), reused 0 (delta 0)
To ...
* [new tag] 2.0.rc10 -> 2.0.rc10
So, the lock is pressed, and the tag created on the remote control, since I do not have a hook for preliminary reception, it is pushed without problems.
source
share