fetch + reset possible today? #726
|
I'm trying to create a tool to maintain an up-to-date pristine checkout of a remote git repository. In traditional git cli terms, this entails I thought perhaps using |
Replies: 3 comments 6 replies
|
Worktree-resets are not implemented yet, but you can subscribe to this tracking ticket to receive updates. |
|
Hi, awesome work ! Think my git knowledge might letting me down here but would it be possible to effectively do My reasoning was just repeat the p.s. great project I've been developing a few Tauri apps on iOS recently, and had the idea to include git in some sort of management app and |
|
Indeed. My first draft similar to AravindPrabhs can be found at https://github.com/bittrance/kitops/blob/d39fda547985e53f2f8987c27bdef90fda8f28a0/src/git.rs . It simply checks out a new worktree into a temporary dir. It seems to work for simple cases. |
Worktree-resets are not implemented yet, but you can subscribe to this tracking ticket to receive updates.
cargoneeds this as well so it's going to be implemented as soon as possible.