git-learning-game / oh-my-git

An interactive Git learning game!
https://ohmygit.org
Other
2k stars 145 forks source link

Can this be used as a real frontend for git? #101

Closed legendofmiracles closed 3 years ago

legendofmiracles commented 3 years ago

Since this game uses real git internally, would there be a simple way of displaying my git project with oh-my-git? Maybe even have all cards on the bottom, so that you can do some real work?

The reason why I'm asking is that I love the representation of git repos in this game! It shows everything a lot simpler than your normal git log does.

prochac commented 3 years ago

And you can learn by the real world scenarios then, while using familiar UI.

blinry commented 3 years ago

Glad you like the representation, @legendofmiracles! :) Agreed, having a feature to open a real Git repo inside the game would be nice! One reason that prevented us from adding this for now was that for a big number of commits, our graph layouting woud become pretty slow.

There's a trick how you can already do this, as soon as you have the repository on GitHub! :D Open the "emtpy sandbox", add the repo git remote add origin git@github.com:user/repo, and then git pull (and often git checkout master!) You have been warned! :D

legendofmiracles commented 3 years ago

Finally I can experience my git's messiness in it's nicest form image

Thank you so much for the answer! It works like a charm, trying to clone nixpkgs (200k commits) crashed it :laughing: