Skip to content

Instantly share code, notes, and snippets.

@IbanMM
Last active March 19, 2020 09:11
Show Gist options
  • Save IbanMM/9a516dcec08c92a8d5577b9e03610779 to your computer and use it in GitHub Desktop.
Save IbanMM/9a516dcec08c92a8d5577b9e03610779 to your computer and use it in GitHub Desktop.
Useful commands
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment