Git newbie here. What is the best practice and clean way of replacing my local version of my branch with the branch that I uploaded previously, but made modifications to files using the online editor?
I did the following. I created a branch and pushed up changes. Instead of modifying my files locally, I used the online editor to make changes to those same files. Now roll forward a week or 2 later. I forget to pull any other changes.
Now my local repo seems to have issues after doing a git pull.
What i would like to do is simply pull down the online branch and somehow reset my local with that version. How can I do that for my local branch? Was it bad practice to use the online editor to make changes? vs modifying the files locally and then pushing them? Thanks.