StaffCoder
Git
GitGit 2.47.3Linux CLI
10 modules · 40 challengesSign up
Modules10 modules · 40 challenges
Undo mistakes at every level with the right tool. Restore files, amend the last commit, and clean untracked debris safely.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Throw Away Bad Edits

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Discard bad working tree edits and bring one file back from an older commit.

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

Repair the Last Commit

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Fix the last commit's message and add its forgotten file without creating a new commit.

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

Clear Out the Debris

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Preview and then safely delete untracked junk while every tracked edit survives.

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

Workspace Rescue

STAR
Solving it completes the module
100%1 of 1 solvedeasy
About this challenge

Rescue a repository with one precise sequence of restores, an amend, and a safe clean.

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.