After installing Git Bash, the address is git-scm.com/downloads

Select an installation mode based on your operating system

Please refer to the documentation provided by code Cloud: git.mydoc. IO /? t=180692

Note: For the project management operations in steps 2 to 4, you must first run the ‘CD’ command to enter the root directory of the project in the local repository

1. Configure the user name and password (find it in the menu barThe interface is similar to command line operation.

git config --global user.name "Your first name or nickname"
git config --global user.email "Your email"Copy the code

2. Clone Project

git cloneProject address Gitclone[email protected]: zxzllyj/sample - project. Git / / git SSH addressclonehttps://git.oschina.net/zxzllyj/sample-project.git / / HTTP addressCopy the code

3. Update the project from server to local (pull)

git pullCopy the code

4. Commit the project from local to server (push)

(1) Save the entire project locally

git add . Copy the code

(2) Fill in updated remarks/instructions

git commit -m "New File"Copy the code

(3) Submission

git pushCopy the code