Git

Configure GIT once installed

You should tell GIT who you are in order to have proper documentations to code changes.
Use the commands

 git config --global user.name "Your Name"
 git config --global user.email you@example.com

Manage Branches with Git

 Command Description
 git branch my_branch Shows available branches - marking current
 git checkout -b my_branch create new branch named "my_branch"
 git branch -d my_branch Deletes "my_branch".
 git checkout my_branch    Switches to "my_branch" branch.
 git merge other_branch will merge change from "other_branch" to "my_branch"

References


Subpages (1): Github
Comments