git常用命令

git help  命令字
git log -n 2 --pretty=oneline --abbrev-commit
git cherry-pick  版本号
git add .
git commit  -m  ""
git push
git push origin --delete
git clean -df  ( Remove untracked files from the working tree)
git pull

子模块
git submodule update --remote
git submodule update --init

原文地址:https://www.cnblogs.com/nerrissa/p/13161635.html