Skip to content

Instantly share code, notes, and snippets.

View IbanMM's full-sized avatar

IbanMM

  • Vitoria-Gasteiz, Basque Country, Spain
View GitHub Profile
# 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
# 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