Guide |
Git version control system requires a server side, and on GitHub to create a private git server-side warehouse that touches the charges, so here we use Dropbox free space to take a look at the tutorial to build a private git repository on Dropbox. |
One, create a remote repository folder (. git suffix) in the Dropbox folder
CD ~/dropbox/projectmkdir Demo.git
Second, enter the Demo.git folder and initialize the repository
CD demo.gitgit Init--bare
Third, create a copy of the local clone, if you want to create it in the ~/lab/demo/directory
CD ~/lab/git Clone ~/dropbox/project/demo.git Demo
iv. testing git
CD Demotouch readmegit add readmegit commit-m "fisrt commit" Git push Origin Master
v. Shared/dropbox/project/demo.git folder
[Share]comment=this is Linux share Directorypath=/home/myth/sharepublic=yeswritable=yes
Free to provide the latest Linux technology tutorials Books, for open-source technology enthusiasts to do more and better: http://www.linuxprobe.com/
A tutorial on setting up a private git repository on Dropbox