I want to create a macro, using commands from the Git plugin, that (1) unstages all files, (2) adds the current file and then (3) commits to the repo.
My macro file is this:
{ "command": "git_reset_head_all" },
{ "command": "git_add" },
{ "command": "git_commit" }
]
When I execute the macro, I get this error:
Unknown macro command git_reset_head_all
Unknown macro command git_commit
Both are valid Git commands. Any idea what’s going on?
Alex