User Tools

Site Tools


software:git

This wiki is not maintained! Do not use this when setting up AuScope experiments!

This is an old revision of the document!


git

git is the revision control system which has been adopted to keep track of the AuScope codebase.

A comprehensive reference can be found at the git homepage: http://git-scm.com/.

The quick version:

pull changes down from the central repository (do this before making your own work.):

git pull origin master

Add a file:

git add <filename/directory>

remove a file:

git rm <filename/directory>

commit some changes:

git commit -m “commit message” <files/directories>

Push committed changes up to the central repository (do this after you've finished):

git push origin master

See how you've changed a file:

git diff <filename>

See what changes have been made to the codebase:

git status

/home/www/auscope/opswiki/data/attic/software/git.1291953424.txt.gz · Last modified: 2011/10/26 06:37 (external edit)