Skip to content

Instantly share code, notes, and snippets.

@dpedro
Created March 2, 2017 22:05
Show Gist options
  • Save dpedro/28407b8af04cf522548e404000ae806b to your computer and use it in GitHub Desktop.
Save dpedro/28407b8af04cf522548e404000ae806b to your computer and use it in GitHub Desktop.
GIT basic commands
# 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