Git入門?查看 幫助 , Visual Studio / TortoiseGit / Eclipse / Xcode 下如何鏈接本站, 如何導入項目git
Git 全局設置:spa
git config --global user.name "username" git config --global user.email "name@qq.com"
建立 git 倉庫:.net
mkdir demo
cd demo
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/***/demo.git
git push -u origin master
已有項目?命令行
cd existing_git_repo
git remote add origin https://gitee.com/***/demo.git
git push -u origin master