Last active
November 15, 2017 17:29
-
-
Save raulperula/99ed1570faf8042287d9f8e0d29297f6 to your computer and use it in GitHub Desktop.
This file contains 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
# revert a file | |
git checkout -- filename | |
# pull changes maintaining local changes | |
git stash | |
git pull | |
git stash pop | |
# Changing a remote's URL | |
https://help.github.com/articles/changing-a-remote-s-url/ | |
# configuration | |
git config --global user.name "Raúl Pérula-Martínez" | |
git config --global user.email raules@gmail.com | |
git config --list | |
# aliases | |
git config --global alias.co checkout | |
git config --global alias.ci commit | |
git config --global alias.st status | |
git config --global alias.br branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment