Can I use `git checkout --patch` non-interactively? -


i want reset contents of working directory match revision without changing commit current branch pointing to, git reset does. git checkout --patch this, interactively, requiring me answer yes every change want reset. annoying when i'm resetting lot of changes, in cases i'd rather reset everything.

is there way use git checkout --patch (or equivalent) non-interactively?

git read-tree-umcommit

resets index , worktree commit (the -m option says merge what's being read index -- 1 tree , index bit of degenerate case), u option says update worktree when done).


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -