pcottle / learnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
https://pcottle.github.io/learnGitBranching/
MIT License
30.4k stars 5.74k forks source link

[Bug] no error thrown for "git gc" #1021

Closed ulyssear closed 1 year ago

ulyssear commented 1 year ago

I accidentally wrote "git gc" instead of "gc" or "git commit". However, I didn't get any errors in the terminal. I will take care of this issue which should be simple to fix.

EDIT : In case "git gc" is a feature, then the commit is not created after running the command.

image

ulyssear commented 1 year ago

i just forgot the git-gc my bad ^^'

thetayloredman commented 1 year ago

I added this in #957, it just cleans up any of the orphan commits in case you get a mess of them.