//Get warehouse
git clone storage
//Add file
git add file
//Delete file
git rm file
//Submit file to local warehouse
git commit -m "comment" file
//Get latest update
git pull
//Submit local warehouse
git push
//View branch
git branch
//Restore file
git checkout file
//Compare file
git diff file1 file2
//Submit branch
git push origin branch name
//Get branch update
git pull origin branch name
//View all branches
git branch -a
/ /View remote branch?
git brach -r
//Switch branch
git checkout branch name
//Delete local branch
git branch -d branch name
//View warehouse address
git remote -v
Git common commands (constantly updated)
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326817934&siteId=291194637
Ranking