Git Pushing
Streamlined git workflow for committing, pushing, and managing repository changes with best practices.
npx degit LangbaseInc/agent-skills/git-pushing my-git-pushing
Automates and optimizes git workflows for committing changes, creating meaningful commit messages, and pushing to remote repositories.
- Intelligent Commits - Analyze changes and create contextual commit messages
- Branch Management - Handle branching workflows
- Push Optimization - Safe pushing with pre-push validation
- Conflict Resolution - Guidance for merge conflicts
- Commit History - Maintain clean, meaningful history
1. Analyze Changes
Review staged and unstaged changes
2. Generate Commit Message
Create clear, descriptive commit messages following conventions
3. Validate Changes
Check for issues before committing
4. Commit
Stage and commit changes with proper messages
5. Push
Push to remote with safety checks
type(scope): subject
body
footer
Types:
feat- New featurefix- Bug fixdocs- Documentation changesstyle- Code style changesrefactor- Code refactoringtest- Test changeschore- Build/tooling changes
- Write clear, descriptive commit messages
- Commit related changes together
- Review changes before committing
- Use conventional commit format
- Keep commits focused and atomic
- Pull before pushing
- Handle conflicts properly
- Pre-commit validation
- Conflict detection
- Force-push warnings
- Branch protection awareness
- Remote sync verification