Makistos
9/23/2015 - 7:54 AM

Useful Git commands. #git

Useful Git commands. #git

# Show 
git stash show -p stash@{0}

# List files in commit
git diff-tree --no-commit-id --name-only -r <HASH>

# Show changes in any commit
git show <HASH>

# git log

## Show history for a file
git log -- [filename]

## Show entire history
git log --follow -p -- [filename]