You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### To make sure your local copy is completely in sync with the remote
6
+
7
+
Sometimes your local copy of a repo gets so out of sync with the one on GitHub, it's just easier to re-clone the repository.
8
+
9
+
1. Make sure any local changes you want to keep are stashed outside of the local copy of the repo. If you don't have any work in progress, this may not be necessary.
10
+
1. Delete the local root directory for the repo.
11
+
1. Open GitHub Desktop and try to set the current repo to the one in question.
12
+
1. GitHub Desktop will tell you it can't find the local folder and ask you if you want to re-clone the repo.
13
+
1. Re-clone the repo. This may take a minute or two as the app downloads all the files from the remote GitHub repo.
14
+
1. If you stashed any changes:
15
+
1. Select the branch you had been working in.
16
+
1. Fetch, and copy your changes back into the local repo.
0 commit comments