Git: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
Commit | Commit | ||
git commit -m "This is a great check in" | git commit -m "This is a great check in" | ||
== Checking out a branch | |||
git clone <address> | |||
git fetch origin | |||
git checkout <branch name> |
Revision as of 03:19, 7 February 2020
Helpful commands
Getting stuff from other branch
git remote add live <other branch> git pull live maste
Commit
git commit -m "This is a great check in"
== Checking out a branch
git clone <address> git fetch origin git checkout <branch name>