◉ANTIGRAVITY LABJP
TAG

Git

32 articles
← Back to all tags
Related:
Antigravity16antigravity10agents6workflow6troubleshooting5code review3editor3automation3indie development2beginner2indie dev2agent2
⚙ AI Tools/2026-11-22Beginner

In a --depth 1 working copy, git blame pinned all 234 lines on a single commit. Choosing the clone you hand to an agent

I cloned the same repository four ways (shallow, blobless, treeless, full) and compared clone time with what log, diff, and blame actually return. A shallow clone often gives wrong history without any error. Here is how I pick a clone per task, plus a short script that checks depth first.

◈ Agents/2026-11-14Intermediate

The Agent PR I Approved Was Rewritten a Week Later: Counting Which Lines Survive 14 Days with git blame

Agent PRs often sail through review, yet the same lines get rewritten soon after merge. Here is a git blame script that counts how many of a commit's added lines are still there 14 days later, plus the four traps that made my first version report wrong numbers: renames, formatter commits, date reversals and shallow clones.

▣ App Dev/2026-11-05Intermediate

Stopped by "cannot pull with rebase: You have unstaged changes" — and the autostash fix that exits 0 with a conflict

How to triage git pull --rebase stopping on unstaged changes in a repo an agent has touched, and why --autostash can return exit code 0 while leaving conflict markers behind. Reproduced on git 2.34.1.

◉ Antigravity/2026-10-31Beginner

Ask It to Only Read on Day One: A Five-Step Ladder for What to Hand Antigravity

What to ask Antigravity on your first day, and what to hold back. A five-step ladder that widens the agent's scope from least to most breakable, plus a small shell script that counts what actually changed before and after a session.

⬡ Integrations/2026-10-26Intermediate

I Stopped Embedding the Token in the Remote URL. An Old Clone's .git/config Had It Sitting There, Readable by Anyone

How to audit unattended git jobs for tokens embedded in the remote URL and move them to http.extraheader. Full text of three scripts plus the real output from before and after the migration.

⟐ Editor/2026-10-21Advanced

I Wondered Whether to Sort My Diffs by Machine, So I Ran It on 106 Commits. It Mattered for 8, and for One 1,776-File Change

I wrote a small script that orders a git diff by reading priority and ran it on 106 recent commits. It earned its place in 8 of them and one bulk change. Rules, full code, and the silent misclassification traps.

◉ Antigravity/2026-10-15Beginner

Before You Press Delete on an Antigravity Project, Can You Name Three Things That Stay?

Does deleting a project in Antigravity 2.0 remove your source code? A community explanation, split into its two storage locations, plus a read-only script and a safe order for freeing disk space.

⟐ Editor/2026-10-08Beginner

Undo That Rewinds Only the Conversation, and Messaging a Subagent Directly: Three Moments I Hesitated

Antigravity 2.19.1 adds undo for the conversation only, and direct messages to a subagent. Here is what the changelog says, where I draw my own lines, and how to check both safely.

⚙ AI Tools/2026-10-01Beginner

You Don't Need to Read Commands: Three Places to Check When an Agent Works

If strings of terminal text make the approve button feel risky, here is a way to check just three things: a way back before you start, the first word of a command, and the diff afterward.

⟐ Editor/2026-09-03Intermediate

How much of Antigravity's generated commit message I actually keep

Where the Review pane's generated commit message stops being enough, and where I start writing. A prepare-commit-msg and commit-msg pair that adds and enforces a Why trailer, plus measured behaviour during rebase, cherry-pick, amend and revert.

⟐ Editor/2026-08-27Intermediate

Building a Verification Loop With Antigravity 2.10.0's Embedded Terminal

Antigravity 2.10.0 puts a terminal in the sidebar. Here is how I pinned my pre-merge checks down to three commands, scoped them to changed files only, and what the measured difference turned out to be.

✦ Tips/2026-08-06Advanced

Seven Characters Don't Only Point at Commits — Measuring When Your Agent's Recorded Hashes Stop Resolving

Short commit hashes recorded by an agent quietly stop resolving as a repository grows. Measuring where ambiguity begins, fixing the recording side, and building a batch verification gate.