AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Git Workflow

skill-alisinadevelo-md-files-git-workflow · by AlisinaDevelo

>-

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-alisinadevelo-md-files-git-workflow

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-alisinadevelo-md-files-git-workflow)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Git Workflow? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Git Workflow

Git is a content-addressable history you can almost always recover from. The rules below keep history readable and keep you out of the irreversible corners.

Branching

  • Branch per unit of work off the latest base. Keep branches short-lived — long-lived

branches drift and conflict.

  • Rebase your own unpushed branch onto the updated base to keep a linear history before

opening a PR: git fetch && git rebase origin/main.

Rebase vs. merge — the one rule that matters

  • Rebase to clean up history that only you have. Never rebase commits you've already

pushed and others may have based work on — it rewrites hashes and forces everyone else to recover. "Don't rebase shared/public branches" is the rule; private branch cleanup is fine.

  • Merge to integrate shared branches. A merge commit is honest about when integration

happened and is safe for history others already have.

Resolving conflicts

  • Read both sides before editing — understand what each change intended, don't just pick

one. The conflict markers (>>>>>>) bound the competing hunks.

  • After resolving: git add the files, then continue (git rebase --continue /

git merge --continue). Run the tests before finishing — a clean merge can still be semantically broken.

  • Bail out safely if it's a mess: git rebase --abort / git merge --abort returns you

to the pre-operation state.

Recovery — git rarely loses committed work

  • git reflog is the undo log for HEAD. Reset to the wrong place, botched a rebase,

"lost" a branch? The prior HEAD is in the reflog: git reset --hard HEAD@{1}.

  • git revert undoes a commit by adding an inverse commit — the safe way to

undo something already pushed (vs. reset, which rewrites history).

  • Uncommitted changes are the real loss risk — git stash before risky operations.

Finding a bad commit

git bisect binary-searches history for the commit that introduced a bug:

git bisect start
git bisect bad                 # current commit is broken
git bisect good    # this older commit worked
# git checks out the midpoint — test it, then:
git bisect good   # or: git bisect bad
# repeat until git names the first bad commit, then:
git bisect reset

Automate it with git bisect run when the test is scriptable.

Don't

Force-push to main/master/shared branches. Rewrite pushed history others build on. git reset --hard with uncommitted changes you care about. git clean -fd without checking what it'll delete first (git clean -nd previews).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.