e
d
Loading...
Front Page
Interactive Tool • Developer Workbench
Git Simulator
& DAG Engine
Directives:
git init
git add .
git commit -m "feat: initial commit"
git branch feature
git checkout feature
git commit -m "feat: add user flow"
git checkout main
git merge feature
git stash
git stash pop
Repository is empty. Run 'git init'.
Working Directory
20 files
README.md
package.json
tsconfig.json
.gitignore
src/index.tsx
src/App.tsx
src/App.css
src/components/Header.tsx
src/components/Footer.tsx
src/components/Button.tsx
src/hooks/useAuth.ts
src/hooks/useTheme.ts
src/utils/api.ts
src/utils/helpers.ts
public/index.html
public/favicon.ico
public/logo.png
tests/App.test.tsx
tests/Button.test.tsx
cypress/e2e/home.cy.ts
git add
Staging Area
0 files
empty
Stash
0 entries
empty
What's Happening?
Welcome to the Git Simulator! Initialize a repo to start hacking.
Pro Tips
Rebase vs Merge
Use
git merge
to preserve history, and
git rebase
to maintain a linear history.
Stashing
Use
git stash
to save your changes temporarily without committing them.
Resetting
git reset --hard
is dangerous! It discards all local changes.
Available Commands
init, add, commit, status, log, branch, checkout, merge, rebase, reset, revert, stash, cherry-pick, diff
➜
~/project
$