12 GitLens Features that Revolutionized My Coding Workflow in VS Code.
12 GitLens Features that Revolutionized My Coding Workflow in VS Code.
#git tip of the day. Massive time saver.
Add this alias to your config:
`lg = log --format='%C(red)%ad %C(green)%h %C(blue)(%an): %Creset%s%C(Yellow)%d' --date=format:'%d-%m-%y'`
It’s basically `git log —oneline` + date and author and pretty colours.
Now you can combine it with #fzf to filter the commit history:
`$ git lg | fzf`
The only issue is that the results won’t be sorted chronologically, but it’s so much faster than stuff like #gitlens
best options for performing #git diffing? I'm a fan of #JetBrains diffing, I've used #GitLens and it works but I find it overwhelming.
What software or extensions do you use for diffing in general - comparing different branches in particular?
I've also used #SourceTree but it's been a few years...
#GitLens is the best new thing I discovered for #VSCode for working with #git, and surprise surprise it's by the GitKraken team!
https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
Extension for Visual Studio Code - Supercharge Git within VS Code — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more