User Tools

Site Tools


software:git

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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:git [2010/12/10 03:57]
tjhoban created
software:git [2011/10/26 06:37]
Line 1: Line 1:
-====== 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/pages/software/git.txt · Last modified: 2011/10/26 06:37 (external edit)