Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Host refs to push are chosen (documentation error)?

From: Andrey Borzenkov <hidden>
Date: 2016-06-15 22:48:18

I have a feeling that documentation is not up to date.

{pts/1}% git --version
git version 1.6.6.2

Reading man git-push:

       --all
           Instead of naming each ref to push, specifies that all refs 
under
           $GIT_DIR/refs/heads/ be pushed.

OK, so

{pts/1}% git push -n --all
To ssh://git.mandriva.com/projects/networkmanager.git
 * [new branch]      local-mdv -> local-mdv
 * [new branch]      local-mdv.stgit -> local-mdv.stgit
 * [new branch]      tmp -> tmp
 * [new branch]      tmp.stgit -> tmp.stgit

so far so good, but

{pts/1}% l .git/refs/heads
local-mdv  local-mdv.stgit

Apparently $GIT/refs/heads is not the only place?

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help