Command line instructions
Git global setup
git config --global user.name "cliveyuan"
git config --global user.email "clive@cliveyuan.com"
Create a new repository
git clone git@gitee.com:opensource4clive/java-tools.git
cd java-tools
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder or Git repository
must create project in gitee before
cd existing_folder
git init
git remote add origin git@gitee.com:opensource4clive/java-tools.git
git add -A
git commit -am 'init'
git push -u origin master
本文由 Clive 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为:
2020/04/09 09:55