cp
Commit the work, then push the current branch. An alias of /commit-and-push.
Files1
View on GitHubSKILL.mdsystem/git/skills/cp/SKILL.md
GitHubThe engineer typed /cp $ARGUMENTS. /cp is an alias of /commit-and-push, and does exactly what it does.
- Where the first word is
help, say that this command takes nohelp, and that/push helpprints the help of its command domain. Do nothing more. - Where any other words were typed, say that this command takes none, and commit and push nothing.
- Otherwise, load the rule that governs the act. From the project root, run
slasher/system/foundation/load-rules.sh commit-and-push-commits-the-work-then-pushes-the-current-branch. Where the project has noslasher/directory, runsystem/foundation/load-rules.shwith the same rule name. Follow the rule it prints.