Skip to content

Instantly share code, notes, and snippets.

View guypursey's full-sized avatar
🏠
Working from home

Guy Pursey guypursey

🏠
Working from home
View GitHub Profile
@cbillowes
cbillowes / advanced-git.txt
Last active October 5, 2019 17:02
Advanced Git commands
# list all commits for a given file which includes cases where the file has been renamed.
git log --follow -- filename
# log with a decorated graph
git log --graph --abbrev-commit --decorate --date=relative --all
# short status on branch
git status --short --branch
# see log with diffs