this post was submitted on 27 Jul 2023
49 points (100.0% liked)
Programming
13380 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's why
git log --oneline
exists ;)I use
alias gl='git log --graph --abbrev-commit --no-decorate --date=format:'\''%Y-%m-%d %H:%M:%S'\'' --format=format:'\''%C(8)%>|(16)%h %C(7)%ad %C(8)%<(16,trunc)%an %C(auto)%d %>|(1)%s'\'' --all'
It will change your world.That is sexy. My only problem is that I tend to run my Git operations in a pretty small
tmux
pane on the side of my editing pane, so that layout ends up being too wide to fit well. I'll definitely keep that alias around for when I have a full screen though!Haha yea I have written a number of
git
anddocker
aliases over the years that are permanently in mydotfiles
. I'm always inscreen
but perhaps will get into this newfangledtmux
.