Gazler / githug

Git your game on!
MIT License
6.84k stars 1.03k forks source link

Stage 14 not accepting the answer even though it's presumably correct #286

Closed rbennum closed 3 years ago

rbennum commented 3 years ago

Hello. First of all, thank you for developing the tool for everyone to learn Git. I have a problem with the solution of Stage 14. I assume it's just a simple file renaming using git mv file1 file2 (just an example, it's also been backed up by this article), but apparently, my solution isn't quite right. I already looked up githug hint, and tried each of the flags but little or to no avail. If there is someone who could help me, I would really appreciate it.

nonchalant-enthusiast commented 3 years ago

@rbennum turns out you need to commit the creation of oldfile.txt first. so the full solution looks like this:

git commit
git mv file1 file2

needed to look into the code of solution for this. the hint is only part of the solution. maybe that's why this level ranked as "***" :D

rbennum commented 3 years ago

@nonchalant-enthusiast alright it really works! Thank you so much for answering my question. Have a nice day.