不常用的 git 命令
不常用但是偶尔也是需要用到
更新 .gitignore
git rm -r --cached .
git add -A
删除远程分支
git push origin --delete feature/test
设置 git alias
给git命令设置别名
git config --global alias.br branch
git config --global alias.cm 'commit -m'
删除远程连接
git remote rm origin
特拉瓦尔多阅读 321
兔子先森赞 4阅读 1.1k
鼓狮知识库赞 5阅读 1.3k评论 3
lllllxt_in_sf赞 2阅读 6.6k
南玖赞 5阅读 2k评论 1
夕水赞 1阅读 7.4k
兔子先森赞 3阅读 2.6k
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。