Advanced
Rebase a feature branch
main advanced while you worked. Replay your commits on top of it.
Goal
Rebase your private feature branch onto the latest main for a linear history.
Available commands
Hints
- Stuck? Reveal a hint — no penalty.
Empty folder
Run git init to create a repository.
bash — gitscope
GitScope terminal — a safe Git simulation.
Try: git init
$
Working directory
Clean — no uncommitted changes.
git add ↓
Staging area
Nothing staged. Run git add.
git commit ↓
Repository
No commits yet.