Created
February 9, 2017 15:33
-
-
Save sengstacken/5e9e4609c9ce2d78af485fe476b466ce to your computer and use it in GitHub Desktop.
Git for dummies
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
# create new repository (repo | |
git init | |
# check status of files | |
git status | |
# add file | |
git add <filename> | |
# commit files | |
git commit -m "your message here" | |
# create branch | |
git checkout -b <branch name> | |
# create new repo on github from local | |
git remote add origin <URL> | |
git push -u origin master | |
# get github changes on local computer | |
git pull origin master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment