login
Header Space

 
 

RE: git push bug?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: 'Johannes Schindelin' <Johannes.Schindelin@...>
Cc: 'Steffen Prohaska' <prohaska@...>, 'git' <git@...>
Date: Friday, October 19, 2007 - 2:50 pm

> -----Original Message-----

It strikes me as really odd that a core developers like yourself
hasn't tried to justify/explain why push works as it does.

As I am trying to convince our dev. group here to move to git instead of subversion, I
need to learn how git works. Now I have gotten to the push function and I need
to know what can be done with push and how, pitfalls too. As I go along I find behavior
that I find odd and report these to the list.

 git push <repo> v2.6.23:refs/heads/linus
will make a tag look like a branch

 git push <repo> linus:linus
won't let me create the remote branch linus but
 git push <repo> linus
will

 git push <repo> :linus
OOPS, now I just deleted remote branch linus, no warning
 
 git push <repo> linus:refs/head/linus
creates a branch that is invisible(wont show in git branch -a)

 git push <repo> linus:refs/heads/newbranch
creates remote branch newbranch, but you have to know the magic words
refs/heads/ to do it.

Se what I mean? 


No it doesn't. If someone else in my group wants to create a branch they
might do the same mistakes as I did.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git push bug?, Joakim Tjernlund, (Thu Oct 18, 10:50 am)
Re: git push bug?, Steffen Prohaska, (Thu Oct 18, 11:14 am)
Re: git push bug?, Shawn O. Pearce, (Thu Oct 18, 8:24 pm)
RE: git push bug?, Joakim Tjernlund, (Sat Oct 20, 1:38 pm)
Re: git push bug?, Joakim Tjernlund, (Thu Oct 18, 12:01 pm)
Re: git push bug?, Johannes Schindelin, (Thu Oct 18, 12:21 pm)
Re: git push bug?, Joakim Tjernlund, (Thu Oct 18, 12:31 pm)
Re: git push bug?, Johannes Schindelin, (Thu Oct 18, 6:00 pm)
Re: git push bug?, Joakim Tjernlund, (Fri Oct 19, 10:47 am)
Re: git push bug?, Johannes Schindelin, (Fri Oct 19, 1:24 pm)
RE: git push bug?, Joakim Tjernlund, (Fri Oct 19, 2:50 pm)
Re: git push bug?, Jan Hudec, (Sat Oct 20, 8:05 am)
RE: git push bug?, Johannes Schindelin, (Fri Oct 19, 6:46 pm)
Re: git push bug?, Steffen Prohaska, (Thu Oct 18, 12:55 pm)
Re: git push bug?, Johannes Schindelin, (Thu Oct 18, 5:58 pm)
Re: git push bug?, Steffen Prohaska, (Sat Oct 20, 4:29 am)
RE: git push bug?, Joakim Tjernlund, (Sat Oct 20, 7:52 am)
Re: git push bug?, Steffen Prohaska, (Sat Oct 20, 4:38 am)
Re: git push bug?, Joakim Tjernlund, (Thu Oct 18, 12:10 pm)
Re: git push bug?, Shawn O. Pearce, (Thu Oct 18, 8:49 pm)
Re: git push bug?, Steffen Prohaska, (Thu Oct 18, 12:13 pm)
speck-geostationary