Syncing GitHub on Ubuntu and Windows dual boot #24094
-
Hi! I recently installed Ubuntu onto my PC as a dual boot with Windows 10. I have been creating a game on Windows and using GitHub Desktop for syncing with GitHub. I have learned how to use Git on Linux and how to push and pull from GitHub from the terminal. Now my game project files are stored locally on a hard drive that is accessible to both Windows and Ubuntu. I can happily work on my game in either OS. However I haven’t yet worked out what the process is syncing up with GitHub. To be safe I have just been pushing updates from Windows via GitHub Desktop. Am I safe to work on the same files in Ubuntu, commit and push them to GitHub via the terminal? When I log back into GitHub Desktop on Windows will it tell me that everything is synced up? I just don’t want to screw anything up! Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Further to this, I have just tried doing a |
Beta Was this translation helpful? Give feedback.
-
Never mind, I figured it out! I just did a git add all, commit and push in Ubuntu and thankfully GitHub Desktop in Windows was able to see that everything was synced up. |
Beta Was this translation helpful? Give feedback.
-
try re-index pack when switched to other OS https://git-scm.com/docs/git-index-pack to improve |
Beta Was this translation helpful? Give feedback.
Never mind, I figured it out!
I just did a git add all, commit and push in Ubuntu and thankfully GitHub Desktop in Windows was able to see that everything was synced up.