I am cloning a github repository 'A' to my local github account 'B'. Then I make a local copy of 'B' on my computer with git clone
.
Then I might make a change, create a pull request etc.
After some time, the original repo 'A' advances, changes are being made to the repo 'A'. It is now different of my repo 'B'.
Is there a git
command so that I can update 'B' to the current version of 'A', and the local copy on ly computer as well?
So far, I removed the checkout on the computer (rm -rf
), I deleted the fork 'B', and started from scratch again. Is there an easier way to do this?