oh-my-git icon indicating copy to clipboard operation
oh-my-git copied to clipboard

Level "Restore file from the past" canot be finished with "cards"

Open PSLLSP opened this issue 4 years ago • 1 comments

I cannot find a way to finish level "Restore file from the past" with CARDS only. I think there is a bug in card for "git checkout commit file" or some card is missinng (git reset --hard ??).

I run the game on Windows...

BTW. The game is based on interested idea but I do not beleive it will teach git anyone. It is too compliacted, it focuses on edge cases, it is time consuming, console window is too small, instructions are not clear enought, theory for tasks is missing and real use of git is just different... It doesn't teach to use "git status", "git log", "git diff", etc. It is difficult to browse history of file (changes in each commit).

The best git tutorial I have found so far is "Ry's Git Tutorial", it is free eBook for Amazon Kindle, author (Ryan Hodson) designs simple web site, step by step and uses git to version it. The only weaknes of that book is that it doesn't cover pattern that is used in corporates, where all development is done only in feature breanches and only a senior engineer has rights to merge features to main trunk in central repository (at GitLab, GitHub, etc).

https://www.amazon.com/Rys-Git-Tutorial-Ryan-Hodson-ebook/dp/B00QFIA5OC/

PSLLSP avatar Apr 24 '21 01:04 PSLLSP

I cannot find a way to finish level "Restore file from the past" with CARDS only. I think there is a bug in card for "git checkout commit file" or some card is missinng (git reset --hard ??).

I think that's true. The "git checkout commit file" card does not ask for a file when played to a revision or branch.

nikopp avatar Apr 25 '21 12:04 nikopp