

GitX is a gui repository browser for Mac OS X. Giggle is a GTK+-based repository browser similar to gitk QGit is a QT-based repository browser similar to gitk Tig is a curses-based repository browser (useful if you only have ssh access to the repository) It is a standard part of git and can be launched from gitk.

Git config -global user.email what changed yesterday Make sure that git knows who you are before you push any changes: git config -global user.name "Your Name Comes Here" Policies and conventions to use for the Starlink repository itself are discussed separately. That is enough information to get started. Only the first few characters are required (usually about 6). Or browse the repository using gitk or on the GitHub web interface.Įach commit is given a unique identifier (an SHA1) and can be used in many commands to indicate a single revision. To obtain the history of a particular file: % git log -follow - filename See below for information on rebasing and why it is required. To do that you should first synchronize with the server and then push your changes out: % git pull -rebase Note that this will not send your work back to GitHub.

You can check that what you committed was really what you wanted it to be: % git show

It often leads to problems with submodules in particular. The git commit -a command should not be used as it may include unintentional changes. You will be placed into an editor to enter your commit message. It is a good idea check that what you are about to commit is what you wanted it to be: % git diff -staged Where the -p flag can be used to select individual parts of the file to be added if the file has other changes which you do not wish to commit, or multiple changes which would more logically be divided into more that one commit. The repository can be cloned with: % git clone find out what has been changed: % git statusĪfter editing, add the files you want to commit to your index of staged changes: % git add FILENAME To clone a read/write version of the repository you will need to request push access to the GitHub repository.
DOES GIT CHECKOUT READWRITE PATCH
If you have small one-off patches and do not need write access to the repository you can use git format-patch and mail the patch to. In some cases the git protocol causes problems so the alternative is provided. The first option is preferred since it is much faster to use the native protocol than HTTP. To obtain a read-only copy of the Starlink git repository: % git clone git:///Starlink/starlink.git
