using cloud space as a private git repo

copyright (C) 2011-2017 iesensor.com
[answer from stackoverflow]

It is absolutely possible – what you probably want to do is create a “bare” git repository in folder Y (git init --bare)

and then add that file location as a remote:

======= push and pull has different repo ==========

========push to multiple repo======

The latest version of git (as of October 2012) allows you to do this from the command line:

It is also possible to push encrypted code to public repo, not tested.

BSD documentation licensed Free for non-commercial usage only
Author: Qingfeng XIA
copyright (C) 2011-2017
http://www.iesensor.com
please keep the original link in your reference.
http://www.iesensor.com/blog/2017/09/24/using-cloud-space-as-a-private-git-repo/
This entry was posted in Uncategorized. Bookmark the permalink.