//上传文件夹到github上
git init
git add .
git commit -m ""
git remote add origin https://...
git push -u origin master
//删除github中某些文件夹
git rm -r --cached some-diretory
git commit -m "remove folder"
git push origin master
.gitignore
#Maven#
target/
#Eclipse#
.settings/
.metadata/
.classpath
.project
Users/