git使用总结
git config --global user.name "username"
git config --global user.email "example@example.com"git clone http://github.com/example/example.git
cd example
touch README.md
git add README.md
git commit -m "add README"
git push -u origin mastercd existing_folder
git init
git remote add origin http://github.com/example/example.git
git add .
git commit
git push -u origin mastergit的本地仓库和服务器仓库/裸库
git版本号
使用技巧
使用BFG删除敏感信息 删除文件的所有历史记录
删除某个文件的所有历史
使用rebase来解决多人协作时出现多余的merge问题
clone一个仓库 复制一个仓库
参考
Last updated
