git命令行入门教程
Git全局设置:
git config --global user.name "XXX"
git config --global user.email "[email protected]"
创建仓库:
mkdir lzfc
cd lzfc
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/xxx/lzfc.git
git push -u origin master
已有仓库?
cd existing_git_repo
git remote add origin https://gitee.com/xxx/lzfc.git
git push -u origin master
git命令行入门教程最先出现在Python成神之路。
共有 0 条评论