Skip to content

add the mode "HashReset" to the Restore-Dpendencies powershell. - #143

Open
Ing-Dom wants to merge 1 commit into
v1devfrom
v1dev-checkout_hashreset
Open

add the mode "HashReset" to the Restore-Dpendencies powershell.#143
Ing-Dom wants to merge 1 commit into
v1devfrom
v1dev-checkout_hashreset

Conversation

@Ing-Dom

@Ing-Dom Ing-Dom commented Aug 18, 2026

Copy link
Copy Markdown
Member

This mode checks out the branch and then resets the branch to the desired hash. This does NOT lead to a detached head as the "Hash" mode, so it is possible to create a release. The status of the local git repo is identical as if a potential new commit on this branch was never pulled. It can reset locally committed changes on this branch, so be careful. "Reset" in the name of this mode should rise awareness.

This mode checks out the branch and then resets the branch to the desired hash.
This does NOT lead to a detached head as the "Hash" mode, so it is possible to create a release.
The status of the local git repo is identical as if a potential new commit on this branch was never pulled.
It can reset locally committed changes on this branch, so be careful. "Reset" in the name of this mode should rise awareness.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant