On Sat, 21 Jan 2012 14:43:13 -0800 (PST)
dspfun wrote:
[...]
> > The fact you have a local branch "master" after cloning a remote repo
> > is because, in essence, `git clone` works like this:
> > 1) Initializes an empty local repository.
> > 2) Fetches into it all the branches the remote has, cre
On 20 Jan, 17:08, Konstantin Khomoutov
wrote:
> On Fri, 20 Jan 2012 07:01:27 -0800 (PST)
>
> dspfun wrote:
> > A confusing thing is the difference between:
>
> > >git log master
> > and
> > >git log origin/master
>
> > "git log master" shows the log of the remote repositorys master
> > branch.
On Fri, 20 Jan 2012 07:01:27 -0800 (PST)
dspfun wrote:
> A confusing thing is the difference between:
>
> >git log master
> and
> >git log origin/master
>
> "git log master" shows the log of the remote repositorys master
> branch.
>
> "git log origin/master" shows the log of a _local_ branch w
On Friday, January 20, 2012 4:01:27 PM UTC+1, dspfun wrote:
>
> Great, thanks for your answer!
>
> A confusing thing is the difference between:
>
> >git log master
> and
> >git log origin/master
>
> "git log master" shows the log of the remote repositorys master
> branch.
>
No. "git log mas
Great, thanks for your answer!
A confusing thing is the difference between:
>git log master
and
>git log origin/master
"git log master" shows the log of the remote repositorys master
branch.
"git log origin/master" shows the log of a _local_ branch which is
tracking a remote branch (it is track
Eh, please ignore my first sentence: "The log should be the same." - I left
it in there by mistake.
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/git-users/-/RI
Hi,
The log should be the same. You are looking at the logs of two different
things:
repository A (some_local_git_repo)
- has a remote called "origin" which is where it was originally cloned from
(github? some server?)
repository B (your local clone)
- has a remote called "origin" which is re