benthayer / benthayer/git-gud

Make our own shell-like environment

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

Description

Having our own shell would allow us to see user input, so we could track whether they have run certain commands.

We could track things like:
- `git revert`
- `git reset`
- `git cherry-pick`
- `git diff`
- `git remote`
- `git config`
- `touch`

Other pros:
- Switch to fake git users when simulating remote interactions
- Set the colors of the terminal, show branching information inline
- Log user commands so they can ask for help (#167)
- Automatically track progress
- Tell the user what to do
- Feels more like a videogame
- Have much more flexibility when creating levels
- Change contents of files on the fly
- Automatically use the newest version of git

Cons:
- Maybe confusing to users
- Probably slow
- Probably buggy
- Definitely time-consuming
- Definitely privacy issues

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.