hi everyone,
iam new to git, i have a few doubts.
why git uses branches to work on and why it creates a default branch
"master"?
can anyone give this information?
regards,
pavan kumar.
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
On Tue, 23 Aug 2011 04:47:32 -0700 (PDT)
pavan kumar wrote:
> why git uses branches to work on
Git does not need branches, a programmer is free to completely ignore
the fact branches exist.
> and why it creates a default branch "master"?
Since Git supports branches, every repository must have on
On Sunday, August 21, 2011 11:41:50 PM UTC+2, Peter J Weisberg wrote:
>
>
> There's nothing necessarily wrong with merge commits, but if you want to
> straighten out your history before you push:
>
> $ git fetch origin
> $ git rebase origin/branch
>
>
You can also do it in one command like this:
Hi,
I'm using git svn to allow me to use git locally and then send back to
our central svn repository.
I generally tend to create tracking branches - usually based on an svn
branch.
Unfortunately, I started a tracking branch based on the svn trunk - I
thought that the work would end up there soo
On Tue, 23 Aug 2011 14:33:18 +0100
Andy Hardy wrote:
> I'm using git svn to allow me to use git locally and then send back to
> our central svn repository.
>
> I generally tend to create tracking branches - usually based on an svn
> branch.
>
> Unfortunately, I started a tracking branch based o
> > for x in $(git tag -l); do
> > echo "$x\t$(git rev-parse $x)"
> > done
BTW that turns out to be:
git show-ref --tags
Awesome bash bashing, though!
Now I'm still trying to go from a hashtag to a tag. I'll see if I can
follow up when I find it - it should be easy, right?
git show-ref
On Tue, Aug 23, 2011 at 6:43 PM, Phlip wrote:
> Now I'm still trying to go from a hashtag to a tag. I'll see if I can
> follow up when I find it - it should be easy, right?
>
> git show-ref --tags | grep de049647a1ea285ce7791dc4ebf01ddfc564ddad
>
If the tag is the only ref for that commit, you