Solution to git pull error

If any of face issues with git pull error due to changes to your lesson code. For example I made some changes to lesson1.ipynb
I wanted to pull the latest changes when I ran git pull I received an error that either I need to commit my changes for lesson1 or stash it & git pull request failed. To avoid this perform the following I undid the local changes to lesson1 using the following command
git checkout lesson1.ipynb

After the above I was able to do a successful pull from the remote location

1 Like

Create a copy of the notebook before using them…