On Sun, 17 May 2015 17:31:03 -0400
wor...@alum.mit.edu (Dale R. Worley) wrote:

> John Bleichert <jbleich...@gmail.com> writes:
> > I understand that the underlying git principle is that "everything
> > is local". Is there really no way to compare local to remote?
> >
> > Alternatively, should I be branching and merging every time I
> > switch machines? This seems a strange way to use the tool.
> >
> > As I said - hi level question and, otherwise, everything works
> > fine. 
> >
> > Am I missing something fundamental?
[...]
> OTOH, if you want to check that *every* ref in your repository is the
> same as the ref of the same name in the remote repository, you've got
> to find a command that will list all the refs in the remote
> repositories and their values, and then compare those values with the
> local values.

Basically, that's what

  git remote -v show <remote>

does: it reaches for the server behind <remote> asks it for the
refs/heads/* it has, compares them to the local heads, including their
tracking state, and outputs the results in a human-readable form.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to