git初始化的几句shell

Command line instructions Git global setup git config --global user.name "abccccccc" git config --global user.email "abccccccc@xxx.com.cn" Create a new repository git clone git@gitlab.xxx.com.cn:abccccccc/sampleShell.git cd sampleShell touch README.md git add README.md git commit -m "add README" git push -u origin master Existing folder or Git repository cd existing_folder git init git remote add origin git@gitlab.xxxxx.com.cn:abccccccc/sampleShell.git git add . git commit git push -u origin master
posted @ 2020-01-19 10:34  multitude  阅读(172)  评论(0)    收藏  举报