benthayer / benthayer/git-gud

Level: Staging - `git rm --cached`

Open
#166 0 comments 0 reactions 0 assignees View on GitHub
level - educational
Dominant language
Python
Stars
558
Forks
53
PR merge metrics
No merged PRs in 30d

Description

This level would tell you how to remove things from the staging already

The level would behave like this:
```
$ git gud goal
Commit the files one at a time
$ git status
Changes to be committed:
commitmefirst.txt // "Haha, my contents have changed!"
commitmesecond.txt // "Gosh, I hope there are no typeos"
$ git rm --cached commitmesecond.txt
$ git commit
$ git gud test
Level completed!
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.