Difference between revisions of "Umgang mit Git"

From SIMA wiki
Jump to: navigation, search
Line 1: Line 1:
 
==How to use GIT==
 
==How to use GIT==
*commit - if a part is read commit the changes to you local repository
+
*commit - if a part is ready commit the changes to you local repository
 
*pull - pull as often as possible. If the code of you local repository is far away from the remote repository a merge could be difficult
 
*pull - pull as often as possible. If the code of you local repository is far away from the remote repository a merge could be difficult
*push - ATTENTION: before you push your code to the remote repository you need to pull and merge the two version locally. Only if all merge conflicts are solved you can push you actual state!!
+
*push - if the entire task is finished and well tested you can publish your changes
 +
<pre style="color:red">ATTENTION: before you push your code to the remote repository you need to pull and merge the two version locally. Only if all merge conflicts are solved and the code works you can push you actual state!!</pre>
  
 
[[GIT Background]]
 
[[GIT Background]]

Revision as of 09:21, 22 January 2013

How to use GIT

  • commit - if a part is ready commit the changes to you local repository
  • pull - pull as often as possible. If the code of you local repository is far away from the remote repository a merge could be difficult
  • push - if the entire task is finished and well tested you can publish your changes
ATTENTION: before you push your code to the remote repository you need to pull and merge the two version locally. Only if all merge conflicts are solved and the code works you can push you actual state!!

GIT Background

GIT Commands

GIT Branches

Git GUIs

For more detailed GIT information go to: ProGit - Git Tutorial