Git server configuration, local clone submission, server acquisition, git Server Configuration
1. install and configure Git on the server
Related Links
Related Links
Note ssh-keygen and modify permissions
Permission: related link
2. Local Retrieval
Git clone name @ ip: server project location
Related Links
3. Create a local branch and push it to a remote device.
Git branch name
Git push origin name
3.1 server permission configuration (under the git repository directory at the same level)
Chown-R user: suergroup git repository name
4. local branch and remote Branch Association
Related Links
Run git branch -- set-upstream; the instance is as follows, where debug is the branch
Git branch -- set-upstream debug origin/debug
5. add commit push commit (version creation)
Git push origin name
6. The server obtains git clone (clone under the srv/www/directory and git clone repository path)
Official Website
Related Links