start | find | index | login or register | edit
2008-10-04
by earl, 3998 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 @.
earl.strain.at • esa3 • online for 6769 days • c'est un vanilla site