GIT Distributed Version Control
GIT Distributed Version Control
Get with,
sudo aptitude install git-core
Simple Commands,
git init ...init repository
git add . ...add everything in dir to repository
git commit -a -m ‘update’ ...add + commit changes
git status ...show repository status
git checkout [path] ...checkout remote repository
git add [file] ...add file
git rm [file] ...remove file
git mv [file] ...move file
Mirror Git Repository
rsync -azvCL --delete --progress -e “ssh -i /home/[user]/.ssh/[mykey]” .git/* [user]@[user].strongspace.com:/home/[user]/[project]/.git/
last updated february 2010