Create a local bare git repository

1. Create a bare repository git init --bare directory name

2. Cloning bare repository, git clone E: / location directory name

3. git commit

4. git push

Note: bare library directly call git pull to be wrong, it must first go through a push operation.

Guess you like

Origin www.cnblogs.com/whm-blog/p/10983228.html