Git全局设置

Git全局设置
git config --global user.name  "三重罗生门"
git config --global user.email "oncwnuAjjGb22fZiyYvh4D0ZNbOg@git.weixin.qq.com"
创建一个新的版本库
git clone https://git.weixin.qq.com/caiqian/ExSchoolTimetable.git
cd ExSchoolTimetable
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
现有的文件夹或Git版本库
cd existing_folder
git init
git remote add origin https://git.weixin.qq.com/caiqian/ExSchoolTimetable.git
git add .
git commit
git push -u origin master
posted @ 2019-11-12 22:49  三重罗生门  阅读(2519)  评论(0编辑  收藏  举报