git 命令总结

30 阅读1分钟

1. 提交除 untracked 之外的所有文件

git add -u

git commit -m 'your message'

2. 移除远程分支上不想要的文件

git rm --cached <file>