commit-push
/commit-push
Przegląda, zatwierdza i wypycha lokalne zmiany przez skonfigurowany upstream bieżącej gałęzi, bez zakładania konkretnego remote.
- Autor
- heyAyushh ↗
- Repozytorium
- stacc ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 21.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 21.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Przegląda, zatwierdza i wypycha lokalne zmiany przez skonfigurowany upstream bieżącej gałęzi, bez zakładania konkretnego remote.
Oryginalny opis (EN)
Review, commit, and push local changes through the current branch's configured upstream. Use when you want to ship a deliberate commit without assuming a particular remote.
Jak działa
- Steps
- Notes
Podgląd SKILL.md
---
name: commit-push
description: Review, commit, and push local changes through the current branch's configured upstream. Use when you want to ship a deliberate commit without assuming a particular remote.
---
# Commit and Push
Commit reviewed changes and push only through the branch's configured upstream.
## Steps
1. **Confirm branch and upstream**
```bash
BRANCH="$(git branch --show-current)"
UPSTREAM="$(git rev-parse --abbrev-ref --symbolic-full-name '@{upstream}' 2>/dev/null || true)"
test -n "$BRANCH" || { echo "Detached HEAD; create or check out a branch first"; exit 1; }
test -n "$UPSTREAM" || { echo "No upstream configured; choose the intended remote, then run: git push -u <remote> $BRANCH"; exit 1; }
case "$BRANCH" in main|master) echo "Direct pushes to $BRANCH are not allowed"; exit 1;; esac
printf 'Branch: %s\\nUpstream: %s\\n' "$BRANCH" "$UPSTREAM"
```
Do not push directly to protected branches such as `main` or `master`.
2. **Review and validate**
```bash
git status --short
git diff
git diff --cached
```
Run the relevant project checks documented by the repository before staging.
3. **Stage, commit, and push**
```bash
git add -- path/to/related-file
git diff --cached
git commit -m "<prefix>: <summary (imperative, concise)>"
git push
```
Use `git add -A` only when every pending item belongs in this commit. Split
unrelated work into separate commits instead of pushing it together.
## Notes
- `git push` uses the resolved upstream rather than assuming `origin`.
- Use conventional prefixes: `feat`, `fix`, `refactor`, `perf`, `test`, `docs`,
`build`, `ci`, `chore`, `style`, or `revert`.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · heyAyushh/stacc | 100 | MIT |
| nebius/nebius-ps-services | 100 | Apache-2.0 |
| heyAyushh/stacc | 100 | MIT |
| redpanda-data/ui-harness | 90 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki 321649120e21 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100commit-push-pr
Przegląda, zatwierdza, wypycha i tworzy pull request przez skonfigurowany upstream bieżącej gałęzi, bez zakładania konkretnego remote ani gałęzi bazowej. - 90commit
Stage'uje, commituje i wypycha zmiany do bieżącej gałęzi, gdy użytkownik prosi o commit lub push bieżącej pracy. - 90push-pr
Zatwierdza zmiany, wypycha je do zdalnego repozytorium i tworzy lub aktualizuje pull request dla bieżącej gałęzi. - 90git-commit-push
Zapisuje commit i wypycha bieżące zmiany do repozytorium, sprawdzając wcześniej, co trafi do historii. - 100git-push
Wypycha lokalne commity na zdalne repozytorium, obsługując śledzenie gałęzi, ustawianie upstreamu i bezpieczne wzorce pushowania. - 100commit-push-pr
Zatwierdza zmiany, wypycha je i tworzy pull request przez gh CLI, z obsługą podpisu GPG i zakładaniem gałęzi, gdy praca idzie na main lub master.