在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:tkellogg/dura开源软件地址:https://github.com/tkellogg/dura开源编程语言:Rust 93.9%开源软件介绍:DuraDura is a background process that watches your Git repositories and commits your uncommitted changes without impacting
HEAD, the current branch, or the Git index (staged files). If you ever get into an "oh snap!" situation where you think
you just lost days of work, checkout a Without How to useRun it in the background: $ dura serve & The Let $ cd some/git/repo
$ dura watch Right now, you have to If you have thoughts on how to do this better, share them here. Until that's sorted, you can
run something like Make some changes. No need to commit or even stage them. Use any Git tool to see the $ git log --all
Let $ dura kill The How to recoverThe $ echo "dura/$(git rev-parse HEAD)" Use # Or, if you don't trust dura yet, `git stash`
$ git reset HEAD --hard
# get the changes into your working directory
$ git checkout $THE_HASH
# last few commands reset HEAD back to master but with changes uncommitted
$ git checkout -b temp-branch
$ git reset master
$ git checkout master
$ git branch -D temp-branch If you're interested in improving this experience, collaborate here. InstallArch Linux$ paru -S dura-git Nix / NixosNix is a tool that takes a unique approach to package management and system configuration. NixOS is a Linux distribution built on top of the Nix package manager. To run nix shell nixpkgs#dura If you're willing to contribute and develop, To build and run the latest development version of nix run github:tkellogg/dura To run a development environment with the required tools to develop: nix develop github:tkellogg/dura Cargo Install
By Source
Windows
FAQIs this stable?It's still in the prototype phase. Open issues pertaining to stability are marked with the stability tag. How often does this check for changes?Every now and then, like 5 seconds or so. Internally there's a control loop that sleeps 5 seconds between iterations, so it runs less frequently than every 5 seconds (potentially a lot less frequently, if there's a lot of work to do). Does this work on my OS?
Can I add sub commands and aliases?Yes, any executable on the path named like |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论