feat: all 3 commands — gacp, lock, unlock
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Git add, commit, and push. Run this workflow:
|
||||
|
||||
1. Run `git status` to see what's dirty/untracked.
|
||||
2. Run `git diff --stat` for a summary of changes.
|
||||
3. If there are untracked files that look unintentional (build artifacts, temp files, secrets), ask the user before staging them.
|
||||
4. If there are mixed concerns (changes to unrelated files), ask whether to commit everything together or split into separate commits.
|
||||
5. Stage all intended files with `git add`.
|
||||
6. Write a concise commit message matching the repo's existing style (check `git log --oneline -5` for convention). Use conventional commits if the repo uses them.
|
||||
7. Commit.
|
||||
8. Push to the current tracking branch. If no upstream is set, ask which remote/branch to push to.
|
||||
|
||||
Be interactive — ask questions when something looks off, but don't over-ask on straightforward cases. If everything is clean and obvious, just do it.
|
||||
Reference in New Issue
Block a user