-
-
Save dpedro/28407b8af04cf522548e404000ae806b to your computer and use it in GitHub Desktop.
GIT basic 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 feature_branch | |
# Merge Master into my feature branch | |
git merge master | |
# Add all files and commit them | |
git add -A | |
git commit | |
# Deletes the master branch | |
git branch -D master | |
# Rename the current branch to master | |
git branch -m master | |
# Pull | |
git pull origin master | |
git pull origin develop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment