start | find | index | login or register | edit
by earl, 5716 days ago
Git usage tip of the day: to quickly check what's new in a remote repository first git-fetch it and then use git log ..repos/branch. Dually, to get a log of your local changes, use git log repos/branch...

Addendum: works as long as your local branch and the remote branch have not diverged, i.e. as long as they don't need a merge. A slightly more general approach would therefore involve using git-merge-base(1) to find the most recent common ancestor for both branches. The alternative is learning to decipher git-show-branch(1) or resorting to a graphical tool.
powered by vanilla
echo earlZstrainYat|tr ZY @. • esa3 • online for 8487 days • c'est un vanilla site