-
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 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Worktree-resets are not implemented yet, but you can subscribe to this tracking ticket to receive updates. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
Worktree-resets are not implemented yet, but you can subscribe to this tracking ticket to receive updates.
cargo
needs this as well so it's going to be implemented as soon as possible.