git add
git commit -m 'comments'
git commit --amend
git branch -a
git checkout -b branchname remotes/origin/branch
git ls-remote --tags origin ==> 获取远程TAG
repo sync -c -d -q --force-sync -j16 ==> 无法强制sync
repo forall -j16 -c 'git reset --hard && git clean -fdx' ==> 先执行这个命令再执行上面命令就可以强制sync代码。