How to use Git command line to submit jobs
- 1. Create a new folder for clone warehouse to local
- 2. Enter the "clone local" folder, right-click on the blank space, and enter cmder
- 3. Enter the command, == git clone address ==, this address is the ssh address of your warehouse
- 4. Enter the folder beta-1 under clone, and then manually put the file you want to add into the corresponding file directory
- 5. Enter the command to add, == git add file name ==
- 6. Submit, git commit -m "must add remarks"
- 7. Finally, git push
- 8. Submit successfully, take a look at the warehouse
- 9. Summary
1. Create a new folder for clone warehouse to local
2. Enter the "clone local" folder, right-click on the blank space, and enter cmder
3. Enter the command,git clone address, This address is the ssh address of your warehouse
eg:
git clone git@gitee.com:dd0610/beta-1.git
address:
- After entering the command from the command line, it will automatically clone your warehouse to the local
- At this time, the warehouse beta 1 (beta-1) was successfully cloned locally, which is the beta-1 file above
4. Enter the folder beta-1 under clone, and then manually put the file you want to add into the corresponding file directory
5. Enter the command to add,git add file name
6. Submit, git commit -m "must add remarks"
7. Finally, git push
8. Submit successfully, take a look at the warehouse
9. Summary
- git clone address
- Put the files that need to be submitted into the submitted directory first
- git add file name
- git commit -m "Remember to add notes"
- git push