diff --git a/Useful-Git-commands.md b/Useful-Git-commands.md new file mode 100644 index 0000000..8fd94d1 --- /dev/null +++ b/Useful-Git-commands.md @@ -0,0 +1,16 @@ +### Branches +* list all branches (incl. remotes) + +> `git branch -a` +> +> * master +> +> remotes/origin/14.2 + +* switch to a branch you never checked out before, eg. above 14.2, and set up tracking + +> `git branch --track origin/` + +* switch to branch existing on your local repo + +> `git checkout ` \ No newline at end of file