309 shaares
162 liens privés
162 liens privés
2 résultats
taggé
terminal
It's always usefull to visually see a git tree in the terminal
This quick snippet makes the git tree much easier to visualize in the terminal :
git config --global alias.tree 'log --graph --full-history --all --color --date=short --pretty=format:"%Cred%x09%h %Creset%ad%Cblue%d %Creset %s %C(bold)(%an)%Creset"'
Reading ongoing console logs can be a pain when you don't know a couple tricks.
It keeps going on...
Quick how to :
- do put your terminal to infinite scoll (preferences)
- Use CTRL + S to halt so you can scroll and read peacefully
- Use CTR + Q to resume
- you can always pipe your ongoing logs to |less -G, then you will be able to use search patterns.