3 [[http://git-scm.com/|Git]]: [[wp>Git_(software)|Git]] \\
4 Using [[http://repo.or.cz|Repo Public Git Hosting]]
6 ===== How to install Git =====
8 $ sudo apt-get install git-core
9 $ git config --global user.name user_name
10 $ git config --global user.email you@yourdomain.example.com
13 ===== How to create a SSH key =====
20 ===== How to create a project =====
26 $ git commit -a -m"message"
27 $ git remote add origin ssh://user_name@repo.or.cz/srv/git/project_name.git
28 $ git push --all origin
31 ===== How to download a project =====
34 $ git clone git://repo.or.cz/project_name.git
38 ===== How to upload a project =====
42 $ git remote rm origin
43 $ git remote add origin ssh://user_name@repo.or.cz/srv/git/project_name.git
49 $ git commit -a -m"description of the modifications"
50 $ git push --all origin
53 ===== How to update your version of a project =====
56 $ git pull origin master
60 ===== How to create a tag =====
66 ===== How to upload a tag =====
69 $ git push origin tag_name
75 $ git push --tags origin