Last week I finished Chapter 3 and pushed my code. Today, I wanted to check something from that previous work and I realized after pulling, I had an older version of my code.
I don't know what happened, but I was able to copy and paste my code from a previous commit. I think someone may have pushed his/her repo into the directory, overwriting my newest code with and old version.
I don't know what the best practice is but I imagine pulling everytime before starting a session would solve the trick?
Hi guys
Last week I finished Chapter 3 and pushed my code. Today, I wanted to check something from that previous work and I realized after pulling, I had an older version of my code.
I don't know what happened, but I was able to copy and paste my code from a previous commit. I think someone may have pushed his/her repo into the directory, overwriting my newest code with and old version.
I don't know what the best practice is but I imagine pulling everytime before starting a session would solve the trick?