Skip to main content

commit-and-push

Creates clean conventional git commits using standard git and pushes changes to the remote repository. Use when the user asks to "commit and push", "push changes", or complete a commit followed by git push.

Informations de source

Dépôt
FradSer/skills
Dernière activité de la source
13 septembre 2026 à 14:15
Langue détectée de SKILL.md
anglais
Étoiles
4
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
3 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
commit-and-push
description
Creates clean conventional git commits using standard git and pushes changes to the remote repository. Use when the user asks to "commit and push", "push changes", or complete a commit followed by git push.
disable-model-invocation
true
# Commit and Push Skill (Standard Git) Create clean, atomic Conventional Commits using standard `git` commands and push them to origin. ## Workflow 1. **Inspect status and diff**: ```bash git status --porcelain git diff --staged git diff ``` 2. **Stage files**: ```bash git add <file1> <file2> ... ``` 3. **Commit**: Formulate a Conventional Commit message and commit: ```bash git commit -m "<type>(<scope>): <summary>" ``` 4. **Push**: Detect current branch and push: ```bash BRANCH=$(git branch --show-current) git push origin "$BRANCH" ``` If pushing a new branch for the first time, append `-u`: ```bash git push -u origin "$BRANCH" ```
Voir sur GitHub