Process : push an existing project to bitbucket
1、cd /codePath
2、git config --global user.name zhouqiang
3、git config --global user.email zhouqiang1992@sjtu.edu.cn
4、git init
5、git add . (add all code file to .git)
6、git checkout -b master
7、git commit -a -m 'some thing to say'
8、git remote add originURL http://.../**.git
9、git push -u originURL --all
10、git push -u originURL --tags
如何在github仓库删除一个文件或文件夹
删除文件夹:
git rm -r --cached "文件夹名"
删除文件
git rm --cached 文件名
git commit -m "remove new gitignore directory"
git push origin master