this post was submitted on 12 Oct 2024
149 points (99.3% liked)

Open Source

31044 readers
988 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

And why?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] sudoer777@lemmy.ml 2 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I use git primarily via cli also, the text editor integration (with helix) highlights information such as what lines haven't been committed and makes it easier to access other files in the repo, the fish integration tells me if there's files that haven't been committed or commits that haven't been pushed without having to run git status

[โ€“] xoggy@programming.dev 2 points 3 weeks ago

I do use helix but haven't taken advantage of the git integration. Maybe I'm unaware of its power. For fish, I defined my own fish_prompt function with an indicator if there are uncommitted changes. It's just running git status under the hood. I have a TODO in that function to run a pijul diff in the directory if git status returns nothing...