Last active
September 23, 2020 03:48
-
-
Save hanifa2102/d2e9db688d0197263950fd684fb00663 to your computer and use it in GitHub Desktop.
Git Commands
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
# Create Branch | |
git checkout -b john_branch | |
# Push local branch to github | |
git push --set-upstream origin john_branch | |
# Update Local Branch to Master | |
git checkout master | |
git pull | |
git checkout john_branch | |
git merge origin/master | |
# Add, Commit and Push all your new files | |
git add <new_files>; git commit ; git push | |
# Pull Request | |
https://www.youtube.com/watch?v=rgbCcBNZcdQ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git diff master..branch1 src/