Add a GitResetLast command

This way we can revert the last committed change.
This commit is contained in:
Vishesh Handa
2019-02-15 19:27:40 +01:00
parent 0a4c20f12f
commit 1f7871fe12
4 changed files with 85 additions and 0 deletions

View File

@ -88,6 +88,12 @@ class GitApp extends StatelessWidget {
);
},
),
RaisedButton(
child: Text("Git Reset Last"),
onPressed: () async {
gitResetLast(basePath);
},
),
RaisedButton(
child: Text("Git Migrate"),
onPressed: () async {