by AlexeyBrin · 12y ago · 0 comments
Alternatively, you can code directly on the VM and use an editor that lets you do remote editing (vim, emacs, sublime text ...).
(Although I mostly skip using Git in toy projects, and just backup to Dropbox).
[1] If you push your changes to some offsite remote like Github, you are also backing up your code.
My suggestion was that it is faster to code directly on the VM or use rsync, than to push code on GitHub and pull it on the VM.