You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so it would be wasier to revert changes to a single file if a commit touched multiple files
git_reset_soft("HEAD~3", file, repo)
to allow to go back to state the a previous for file (3 commits before) but to leave all other files alone. So we can add a commit to revert change to that specific file.
Related to #188. it would be great to be able to cherry-pick changes to a file in a branch to another one.
so it would be wasier to revert changes to a single file if a commit touched multiple files
to allow to go back to state the a previous for file (3 commits before) but to leave all other files alone. So we can add a commit to revert change to that specific file.
Related to #188. it would be great to be able to cherry-pick changes to a file in a branch to another one.
git reset
has pathspec https://git-scm.com/docs/git-resetCannot do hard reset with paths however.
Potentially git revert unstaged could be.
git_commit()
+git_reset_hard()
(revert all uncommited) + git_reset_soft()` (restage files, but uncommit them)The text was updated successfully, but these errors were encountered: