1 git init 2 git remote add origin git@git.xiaojukeji.com:ddyc/ddyc.git 3 git branch 4 git pull origin beta 最初的一些命令: Command line instructions Git global setup git config --global user.name "shixianzhi" git config --global user.email "shixianzhi@didichuxing.com" Create a new repository git clone git@git.xiaojukeji.com:shixianzhi-kd/sdfdg.git cd sdfdg 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@git.xiaojukeji.com:shixianzhi-kd/sdfdg.git git add . git commit git push -u origin master