Created
March 27, 2018 18:39
-
-
Save zachakbar/090239595dcf1c6afba4277e11e250b3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// init empy git repo | |
git init | |
// connect repo to project | |
git remote add origin PROJECT_URL | |
// checkout branch | |
git fetch && git checkout BRANCH_NAME | |
// check working status | |
git status | |
// add all files to scm | |
git add --all | |
// commit files to scm | |
git commit -m "MESSAGE_IN_QUOTES" | |
// push files for pull request | |
git push | |
// overwrite local files with master | |
git merge origin/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment