User Tools

Site Tools


software:git

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:git [2011/03/31 01:44]
tjhoban
software:git [2011/10/26 06:37] (current)
Line 8: Line 8:
 pull changes down from the central repository (do this before starting your own work.): pull changes down from the central repository (do this before starting your own work.):
  
-><code<>git pull origin master</​code>​+<​code>​git pull origin master</​code>​
  
 Add a file: Add a file:
Line 49: Line 49:
 ====== Sample Usage ====== ====== Sample Usage ======
  
-First of all: obtain a copy of the codebase.+First of all: obtain a copy of the codebase. The only dependency is the '​git-core'​ package (for ubuntu and debian).
 <​code>​ <​code>​
 git clone ssh://​observer@ops-serv2/​home/​observer/​gits/​pcfs_prod.git git clone ssh://​observer@ops-serv2/​home/​observer/​gits/​pcfs_prod.git
Line 55: Line 55:
 If we already have a repository, we execute a "​pull"​ to ensure our codebase is current before making any changes. If we already have a repository, we execute a "​pull"​ to ensure our codebase is current before making any changes.
 <​code>​ <​code>​
 +cd pcfs_prod
 git pull origin master git pull origin master
 </​code>​ </​code>​
/home/www/auscope/opswiki/data/attic/software/git.1301535878.txt.gz · Last modified: 2011/10/26 06:37 (external edit)