- Now, create a folder in your Google Drive folder called “git”. You want this folder as git produces a lot of files and you may want other stuff on your google drive besides your code repository.
|
|
- CD yourself to your project folder (or whatever folder you want to have git control over).
|
|
- Now, in the projects folder, perform the following git commands
|
|
- Now we go to Google Drive and create a bare git repo (note that the backslash between Google and Drive should be exactly there)
|
|
- To checkout this project from another machine, you simply make sure you have google drive on that machine and type
|
|