Bind to a port, commit your first changes - Test failed

Please I’m getting some errors when I run git push origin master

remote: [tester::#RG2] Received: “” (no content received)
remote: [tester::#RG2] ^ error
remote: [tester::#RG2] Error: Expected start of a new RESP2 value (either +, -, :, $ or *)
remote: [tester::#RG2] Test failed
remote: [tester::#RG2] Terminating program
remote: [tester::#RG2] Program terminated successfully

You can check the code using this github link: codecrafters-redis-python/app/main.py at master · LeGiT300/codecrafters-redis-python · GitHub

Hey @LeGiT300, I guess you’ve made changes to your code but might not have committed them properly.

Could you share a screenshot of the Git commands you ran, along with the code in your editor? That should help us troubleshoot!

I ran the following commands as instructed if you get a failed error:

git show HEAD:app/main.py
git commit --allow-empty -m 'empty'
git push origin master

Thanks for sharing the commands!

  1. Could you share a screenshot of your code in your editor?

  2. You will also need to git add your changes before committing:

By the way, what error messages were you seeing?

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!