StaffCoder
Git
GitGit 2.47.3Linux CLI
10 modules · 40 challengesSign up
Modules10 modules · 40 challenges
Learn how to replay your work on top of someone else's instead of merging it in. Move a branch onto an advanced base, integrate a diverged clone without a merge commit, and transplant only the finished commits.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Replay Over a Moved Base

Sign up to unlock
—No data yetmedium
About this challenge

Replay a feature branch's commits onto an advanced main line, then catch the main line up without a merge commit, keeping history perfectly linear.

Solved in a browser IDE and graded by tests. Sign up to solve

Pull Without the Tangle

Sign up to unlock
—No data yetmedium
About this challenge

Integrate a diverged shared history by replaying local commits on top of the fetched tip instead of merging, then make that the default so the next plain pull stays merge-free too.

Solved in a browser IDE and graded by tests. Sign up to solve

Transplant With Onto

Sign up to unlock
—No data yetmedium
About this challenge

Replay only the fix commits from an unfinished feature branch onto the main tip, leaving the feature branch and its half-written work behind.

Solved in a browser IDE and graded by tests. Sign up to solve

Linear History Mandate

STAR
Solving it completes the module
—No data yetmedium
About this challenge

Bring a stranded feature, a pair of misparented fixes and a diverged clone into one straight line - replayed, transplanted and converged without a single merge commit.

Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.