User Tools

Site Tools


software:git

Differences

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

Link to this comparison view

Next revision
Previous revision
software:git [2019/02/13 09:51] – created himusersoftware:git [2022/01/14 18:44] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== GIT ====== ====== GIT ======
  
-See the latest changes: +  * See the latest changes:<code>
-<code>+
 git log git log
 </code> </code>
  
-Check the status of your files: +  * Check the status of your files:<code>
-<code>+
 git status git status
 </code> </code>
  
-Comiting something: +  * Committing something (changes are not at the remote repository):<code>
-<code>+
 git add <file_you_want_to_add> git add <file_you_want_to_add>
-git commit -m "commentary"+git commit -m "commentary, explain here what you have changed"
 </code> </code>
  
 +  * Push (changes the remote repository to your current local version, can only be done if all changes of the remote repository are included in your local version):<code>
 +git push
 +</code>
 +
 +  * Pull (updates your local version by the changes made in the remote repository):<code>
 +git pull
 +</code>
 +
 +  * Create a new branch named newIssue: <code>
 +git branch newIssue
 +</code>
 +
 +  * Switch to another branch: <code>
 +git checkout newIssue
 +</code>
 +
 +  * Switch back to master: <code>
 +git checkout master
 +</code>
software/git.1550051502.txt.gz · Last modified: 2022/01/14 18:44 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki