If you want to use Git on a different computer and sync the files via Google Drive, how do you set it up on the new device? Here’s how.
Download App
- Download extended version Hugo, Go and Git
- Check exe file location
(e.x. inputwhere goin cmd) - In system environment variables, add location of exe file of the three
(e.x. C:\Program Files\Hugo\bin)
Generate SSH Key on Device
- Set git name for this device
(e.x. inputgit config --global user.name "uan0623"in cmd) - Set git email for this device
(e.x. inputgit config --global user.email "pr346183@gmail.com"in cmd) - Generate SSH key
(e.x. inputssh-keygen -t ed25519 -C "pr346183@gmail.com"in cmd) - Get key
(e.x. inputtype C:\Users\user\.ssh\id_ed25519.pubin cmd)
Use HTTPS
There are two ways including SSH key, HTTPS. We use HTTPS and change remote link by git remote set-url origin https://github.com/uan0623/mywebsite.git, and then git push. With window popping up, we sign in with GitHub Password, Username
Question
- Netlify deploy shows that the production failed.
Why did it fail?and GPT indicated that theHUGO_VERSIONin the netlify.toml file is incorrect. Both devices need to have the same Hugo version to resolve the issue.

