Which is more preferable , between a local git repository and an online one, and why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Which is more preferable , between a local git repository and an online one, and why?

About GitHub

5th Feb 2020, 11:33 PM
The Guy
The Guy - avatar
3 Answers
+ 5
You can use an online git repo for free. In case you lose your computer, you automatically have a backup. It also enables others to use your code or contribute to it.
6th Feb 2020, 12:52 AM
Tibor Santa
Tibor Santa - avatar
+ 4
An online one probably lends itself more to greater collaboration.
5th Feb 2020, 11:46 PM
Sonic
Sonic - avatar
+ 2
There are a lot of advantages using online repo over local one, it's much easier to clone code and commit push the repos from any devices and work team collaboration. Cloud deployment from docker using repo is a more convenient way. You can set your repos as private repos if they are not intended to share as public codes.
6th Feb 2020, 4:17 AM
Calviղ
Calviղ - avatar