Git commands collection
Unsynced origin
You still have the repo online and offline, but they are not linked anymore
git initgit remote add origin <origin>
git fetch origin maingit reset --hard origin/main
You still have the repo online and offline, but they are not linked anymore
git initgit remote add origin <origin>
git fetch origin maingit reset --hard origin/main