::: slide
Complicated commands :::
::: slide
Simple tree (start with oneline):
git log --graph --oneline --all
With --all parameter, it will show all commits :::
::: slide
Simple tree (start with oneline 2)
You can also make it more beautiful like this:
git log --graph --decorate --pretty=oneline --abbrev-commit
:::
::: slide
git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
::: slide
git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
:::
::: slide
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
:::