Git has so many subcommands no body can track all of them. If you look closely there are some really good ones, hiding in plain sight. Moreover, new features are begin released and most of them aren't really shared, in this video I'm sharing them after watching Scott Chacon's talk earlier this year.
Ways to support this channel:
🎓 Building a Second Brain with Neovim in under 90 minutes://learn.omerxx.com/courses/second-brain-neovim
📰 Become a better engineer in just 3 minutes a week:
https://signup.omerxx.com
⌨️ Tech I use:
https://kit.co/omerxx/my-battle-station
LINKS
▶
https://youtu.be/aolI_Rz0ZqY?si=lK0ImX9el3XUuSu9
Git Log one liner:
glog='git log --graph --topo-order --pretty='\''%w(100,0,6)%C(yellow)%h%C(bold)%C(black)%d %C(cyan)%ar %C(green)%an%n%C(bold)%C(white)%s %N'\'' --abbrev-commit'
⏱ Timestamps
00:00 - Intro
01:05 - Conditional Git Config
02:40 - Aliases
03:42 - Reuse Recorded Resolution
04:34 - Search Logs
05:00 - Blaming tricks
06:49 - Branches, SSH Signing
07:33 - Git Maintenance
08:15 - Safe --force push
#git #tricks #CLI #terminal #vim #nvim #config #dev #devops #software #development