Skip to content

HEAD commit change of the submodule can't be discard in parent repository #76

@gadfly3173

Description

@gadfly3173

SourceGit.Commands.Discard now can only discard changes in current repo, the HEAD commit change of the submodule needs to execute git reset --hard in the submodule directory.

Reference: https://stackoverflow.com/questions/10906554/how-do-i-revert-my-changes-to-a-git-submodule

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions