Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 487 Bytes

git.md

File metadata and controls

36 lines (28 loc) · 487 Bytes

Pull

git status
# if you have changes
git stash

git pull --rebase
# or 
git pull --rebase <remote> <branch>

git stash pop

Stash

git stash list
git stash show -p
git stash show -p stash@{1}

Git tree

This is not native command

git log --graph --decorate --pretty=oneline --abbrev-commit

Add this permanently to git config

git config --global alias.tree "log --graph --decorate --pretty=oneline --abbrev-commit"  
git tree