Difference between revisions of "Git Cheat Sheet"

From Gejoreuy
Jump to navigation Jump to search
(Created page with "https://www.earthdatascience.org/workshops/intro-version-control-git/basic-git-commands/")
 
Line 1: Line 1:
 
https://www.earthdatascience.org/workshops/intro-version-control-git/basic-git-commands/
 
https://www.earthdatascience.org/workshops/intro-version-control-git/basic-git-commands/
 +
 +
 +
'''Create Branch from Master or Other Branch'''
 +
$ git pull
 +
$ git checkout -b [new_branch_name]
 +
$ git push origin [new_branch_name]
 +
$ git config core.autocrlf false

Revision as of 13:55, 9 July 2020

https://www.earthdatascience.org/workshops/intro-version-control-git/basic-git-commands/


Create Branch from Master or Other Branch

$ git pull
$ git checkout -b [new_branch_name]
$ git push origin [new_branch_name]
$ git config core.autocrlf false