git commands
git remote-View the name of the repository
- v -View the address of the remote repository
-origin -The name of the remote repository
git push repository name (default is Origin) branch (master)-Sync to remote repository
Default: Git push Origin master
Add a new collaboration person
1. Point +new Collaborator, then add collaborator
Synchronize update code && Multi-person collaboration to resolve conflicts
git fetch -compare from remote pull data, manual merge required (recommended)
git diff master Origin/master -contrast difference (red means local, green means remote)
git merge origin/master -Manual merge (to go to related file view)
git pull-Auto merge from remote fetch (remote sync to local branch)
Replacement: Switch account
git config--global user.name "Pingguosky" setting global user name
git config--global user.email "[email protected]" set global mailbox
Client needs to be re-switched
git and github-3 sync to remote repository