-
-
Save dawesi/d3af7fb690c0789f5403 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init - navigate to the appropriate directory and just type that. | |
git add . - adds everything in that path | |
git commit -m 'stuff' - Commits with the message 'stuff' | |
git branch - views branches | |
git checkout -b <new branch> - Creates & switches to new branch | |
git checkout <branch> - switches to branch | |
git merge <branch> - merges that branch to the existing branch that you're already in. | |
git branch -d <branch> - deletes branch | |
git push - This assumes you already have a remote setup (like github) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment