User Tools

Site Tools


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
git [2015/10/04 01:00]
sertalpbilal Format changes, codes are highlighted and git push command is added
— (current)
Line 1: Line 1:
-====== Git ====== 
- 
- 
-[[https://git-scm.com/|Git]] is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. 
- 
-[[https://git-scm.com/|Git]] is useful especially you are collaborating with others on developing software, maintaining exist project or writing a piece of paper. With help of git, you can easily and wisely finish your work without bothering on backup, update or recovery your gathering work.  
- 
-Usually we could use simple ''git'' command line to use git nicely. You can either choose the following recommended apps to setup your git and use it. 
- 
-* [[https://code.google.com/p/git-osx-installer/downloads/list?can=3|OSX]]\\ 
-* [[https://git-for-windows.github.io/|Windows]]\\ 
-* [[http://git-scm.com/book/en/v2/Getting-Started-Installing-Git|Linux]] 
- 
-===== Step-by-step guide for using git ===== 
- 
-1. Choose or select directory to be your local git repository 
-<code bash> 
-mkdir your_folder 
-cd your_foler 
-</code> 
- 
-2. Create a new repository in your_folder 
-<code bash>git init</code> 
- 
-(Optional) You can also checkout (download) a remote repository from [[https://github.com/|github]] 
-<code bash>git clone /path/to/your_folder</code> 
- 
-3. When you propose some local changes, you should always add it 
-<code bash>git add *</code> or <code bash>git add your_file_name</code> 
- 
-4. To be a mark on what you changed, you may need commit your change 
-<code bash>git commit -m "message"</code> example <code bash>git commit -m "add one theorem"</code> 
- 
-5. If you are working on a remote repository (e.g. Github, Bitbucket), you can push your changes by using 
-<code bash>git push</code> 
- 
-FIXME You can change this step-by-step tutorial with an actual project example which could be downloaded from github. 
  
git.1443934846.txt.gz ยท Last modified: 1998/12/03 12:11 (external edit)