Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git barebones repo

Tags:

git

dropbox

Can some one please explain what a barebones repo is? And how I can setup one in my dropbox to store to? There are other questions mentioning to do this, but I can't seem to get a clear explanation of a what a barebones repo is, where to set it up (except for the recommendation of in your dropbox to allow for backup - which is a good idea and why I'm asking) and how to integrate it into my workflow.

Thanks!

like image 653
Diego Avatar asked Apr 20 '26 02:04

Diego


1 Answers

You're probably thinking of a "bare" repo, which is a Git repo without an attached working directory. You can create one using git --bare init or git clone --bare.

Since it doesn't have a working directory, you can't edit files with it, but you can push into and pull from it.

like image 146
mipadi Avatar answered Apr 21 '26 17:04

mipadi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!