Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Git Workflow

20190415 A fetch updates the local copy of the repository to match the remote repository.

$ git fetch

A diff will show changes made to the local master branch versus the repository master branch.

$ git difftool origin/master master

To match out local master branch with the remote master branch we rebase our repository:

$ git rebase

We can hand merge or use the mergetool to interactively resolve any conflicts between local changes and remote changes:

$ git mergetool

To list all local commits.

$ git log --oneline

To list the repository commits (after a fetch).

$ git log origin/master --oneline


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.