next-issue 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/git.mjs +1 -1
- package/package.json +1 -1
package/dist/git.mjs
CHANGED
|
@@ -104,7 +104,7 @@ export async function discardChanges(cwd) {
|
|
|
104
104
|
if (!(await isDirty(cwd))) {
|
|
105
105
|
return false;
|
|
106
106
|
}
|
|
107
|
-
await must("git", ["
|
|
107
|
+
await must("git", ["reset", "--hard", "HEAD"], { cwd });
|
|
108
108
|
await must("git", ["clean", "-fd"], { cwd });
|
|
109
109
|
return true;
|
|
110
110
|
}
|