atomic-commit-and-push

Automate atomic commits and remote publishing with protected branch safeguards.

5|2|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/OutlineDriven/odin-gemini-cli-extension --skill atomic-commit-and-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: atomic-commit-and-push
Source: https://github.com/OutlineDriven/odin-gemini-cli-extension/tree/main/skills/atomic-commit-and-push
Command: npx skills add https://github.com/OutlineDriven/odin-gemini-cli-extension --skill atomic-commit-and-push

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end process of creating coherent, logical commits for the current changes and publishing them to the remote repository, reducing manual errors and rework.

Core Features & Use Cases

  • Atomic commits: groups related changes into a single, well-scoped commit after running checks.
  • Safe publishing: prevents force-pushes and direct pushes to protected branches unless explicitly authorized.
  • Flexible workflow: prefers git submit (git-branchless) when available and gracefully falls back to a conventional branch and git push origin HEAD:refs/heads/<branch>.

Quick Start

Commit and push your latest changes in one step.

Frequently Asked Questions about atomic-commit-and-push

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate atomic commits and push in one step?

Automating atomic commits and push groups related changes into a single, well-scoped commit and publishes it to a remote repository, reducing manual errors by handling both operations end-to-end with built-in safeguards.

Does this workflow support pushing to protected branches?

Pushing to protected branches is prevented by default to ensure safe publishing, blocking force-pushes and direct pushes unless explicitly authorized during the atomic commit and push workflow.

Can I use git-branchless submit for atomic commits?

Yes, git-branchless submit is preferred for atomic commits when available, and the workflow gracefully falls back to explicit branch naming and a controlled git push origin HEAD:refs/heads/<branch> command.

What is the best way to group related changes into a single commit?

Grouping related changes into a single commit is best achieved through atomic commits, which scope changes coherently after running checks and safely publishing the result to maintain a clean version-control history.

How does atomic commit and push handle branch naming fallbacks?

Atomic commit and push handles fallbacks by using explicit branch naming with a controlled git push origin HEAD:refs/heads/<branch> command when git submit is not available in the local workflow environment.