After the server is installed after git
1. Execute git init aa.git--bare in the Repositories Warehouse folder to create a central library of AA (note that the current logged-on user must be a user of git when establishing the AA repository and ensure that/data/repositories/ Aa.git file has Write permission)
2. Execute git clone in the code catalog file [email protected]:/data/repositories/aa.git, the AA directory appears
3. Build the empty repository successfully, add the file in the/data/wwwroot/aa/directory and join the Git add in the repository.
4, commit the repository changes git commit-m ' 111 '-A and git push or (Git push Origin master--force), the remote Git repository was established successfully
5, in the native git clone [email protected]:/data/repositories/aa.git, create a local git repository, set up their own independent branch, you can develop
Git to create a repository