It will simply print the grap history
git log --oneline --graph --decorate
To shorten that, you can setup a alias.
Prerequisits
We need some things installed on the local machine.- git bash installed
Add a shortcut
open a terminalgit config --global alias.hist "git log --oneline --graph --decorate"
This will add an alias "hist" to your git console
You can test it with:
git hist
Keine Kommentare:
Kommentar veröffentlichen