Các lệnh GIT hữu ích đối với tôi?
git config --global user.name "John Doe"
git config --global user.email "[email protected]"
git rm -r -f --cached .
git clone --depth 1 [repo]
git add .
# git add [file]
git commit -m "update"
git push
# git push origin [branch]
git diff -w
git config credential.helper store
git reflog expire --expire=now --all
git gc --prune=now