Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

SmartGit has a brilliant implementation of the reflog.

The Git command line reflog is just a list of hashes and messages. If you're not sure which of those commits is the one you want, it's a fairly laborious process to dig through them. What if you have several commits with the same message, as will happen if you've rebased or amended any commits?

In SmartGit, you simply click the Recyclable Commits checkbox in the Log view, and now everything in the reflog shows up in the log tree, just like any other commit. You can see immediately the parent of each reflog commit, and to see what you changed, just click one of them as you would any other commit in the log. SmartGit shows the differences immediately.

Same thing for stashes. After all, stashes are really just commits by another name. Click the Stashes checkbox and they show up in the log too.

SmartGit is full of features like this where something cumbersome on the command line is straightforward and easy. I've used it for years and recommend it highly.

https://www.syntevo.com/smartgit/



It's also commerical, expensive software. I agree that it sounds useful, but are there any equivalent open source solutions?


It's only commercial software if you use it for commercial purposes. They have a pretty liberal non-commercial license as well. SmartGit is free to use for any of these purposes:

* to actively work on open-source projects,

* for learning or teaching on a public academic institution,

* in the spare time to manage projects where you don't get financial compensation for (hobby usage),

* by public charitable organizations primarily targeting philanthropy, health research, education or social well-being.

(Wording is from their license, English is not their first language.)

https://www.syntevo.com/documents/smartgit-license.html

For open source alternatives, a few people I've worked with like SourceTree. I don't think it has the integrated reflog though. I'd be curious about other recommendations too.


I tend to work on both Open Source and Commercial software.

The cost of context switching between different tools because of it's licensing makes it a non-starter to use one for open source and the other for commercial work.

Granted, the cost of a tool is minuscule compared to the potential gains from speed of development, and any corporation that balks at paying for tools for their developers won't be in business very long, I still find myself penny pinching and using free and or open source tools, even if inferior or lacking in just one or two bits of functionality.


$99 is expensive? That’s, like, a half hour of my time


Not everyone is on your hourly rate.

Hardly anyone is on your hourly rate...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: