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
# Selection | |
yw - Copy word | |
yy - Copy current line | |
y$ - Copy from cursor to the end of the line | |
yG - Copy from cursor to the end of the file | |
dit - Remove all inside a html tag | |
yi" - Copy every thing inside quotes | |
# Navigation |
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
# List all the modified files in a commit | |
git diff-tree --no-commit-id --name-only -r bd61ad98 | |
# Activate git cache credentials | |
git config --global credential.helper store | |
# Get last modifications of a file | |
stat /etc/hosts |