git static method
this function will =>
- git add .
- git commit -m
actionName
- git push
- git status
Implementation
static Future<void> git(String actionName, [bool check = false]) async {
if (check && !useGit) return;
await Shell().run('''git add .''');
await Shell().run('''git commit -m "$actionName"''');
await Shell().run('''git push''');
await Shell().run('''git status''');
}