Skip to main content

Git Sandbox Playground

Experiment with commits, branches, rebases, resets, and reflog recovery directly in your browser. Zero local setup required.

Explore two diverged branches (main & feat/login). Compare merging --no-ff vs rebasing onto main.

Loading editor…

Run any Git commands freely. Inspect every commit in the DAG, toggle Reflog X-Ray, or scrub step-by-step with Replay.

Replay step 2/2:
git shell
0 ms
repo (main)$git log --oneline --all --graph
* 404f488 (HEAD -> main) docs: add internal route
* ff63845 (feat/login) feat: configure session TTL
* 50b46b6 feat: add login handler
* 38cdbb6 chore: bootstrap project
repo (main)$git merge --no-ff feat/login -m "Merge feat/login"
Merge made by the 'ort' strategy.
[main 538f8f0] Merge feat/login
Repository GraphHEAD → main
538f8f0Merge feat/login
Parents: 404f488, ff63845

Snapshot Files (4)

README.mdsrc/app.tssrc/auth.tssrc/docs.ts

Diff vs first parent

+ src/auth.ts
+ export function authenticate() { return 'ok'; }
+ export const sessionTtl = 3600;
+
Working Tree4
Clean
Staging Index0 staged
4 tracked
Local Repo5 commits
branches: 2 · tags: 0
Remote (origin)
No remote configured