Last active
March 27, 2017 16:27
-
-
Save frontend-3/ad8cefa88370bbf6a2f8a5d15d3650d2 to your computer and use it in GitHub Desktop.
Some useful and advanced command for git.
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
# Rebase | |
git rebase —interactive HEAD~numcommit | |
# List all the branchs merged | |
git branch --merged | grep -v "\*" | |
# Interactive staging of specific portions of modified files. | |
git add -p | |
# Making atom your default editor | |
git config --global core.editor "atom --wait" | |
#Rewrite passphrase ssh | |
ssh-keygen -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment