您的位置:首页 > 其它

git常用命令备忘录

2015-12-18 15:41 302 查看
git config --global user.name "name"

git config --global user.email "email@email.com"

git checkout filename

git checkout .

git add .

git add filename

git reset filename

git reset -- .

git reset --hard

git commit -m 'msg'

git log

git revert id

git revert HEAD

git remote -v

git remote add origin addr

git remote set-url origin addr

git remote rm remotename
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: