news.volyx.in

Dura is a background process that watches your Git repositories (github.com)

475 points by todsacerdoti · 1719 days ago · 199 comments on HN

Article summary

Dura is a background process that watches Git repositories and commits uncommitted changes without impacting the current branch or Git index. It allows users to recover lost work by checking out a Dura branch. The tool runs in the background, taking snapshots of changes across the entire repository, enabling users to revert to a previous state. Dura can be installed using Cargo or by cloning the repository and running the installation script.

Main themes

  • Git workflow management
  • Version control systems
  • Data recovery and backup
  • Developer productivity tools
  • Code management best practices
  • Workflow automation and integration

What commenters say

  • Some commenters believe that using Git properly would prevent the situation where Dura is necessary, implying that the tool is not needed for experienced Git users.
  • Others argue that Dura can still be useful for recovering lost work, even for experienced users, as it provides a safety net against accidental losses.
  • A few commenters mention that similar functionality is available in other version control systems, such as Fossil, but note that Fossil's implementation is different.
  • Some users appreciate the potential of Dura to provide a backup of uncommitted changes, allowing them to recover their work in case of an accident.
  • There are suggestions for improving Dura, such as adding a system tray icon to indicate its status and implementing automatic syncing to a remote repository.
  • A few commenters share their own workflows for managing uncommitted changes, including using frequent micro-commits and rewriting them into meaningful commits later.
  • The discussion also touches on the idea of using Dura as a tool for exploring new workflows and habits, such as using fixup commits to rebase automatically.
  • Some users express interest in integrating Dura with their IDEs or other development tools to enhance their workflow.