Git的使用
git的使用
在码云上创建仓库

使用git将项目上传到码云
简易的命令行入门教程:
Git 全局设置:
git config --global user.name "fivenian1" git config --global user.email "8431405+fivenian1@user.noreply.gitee.com"
创建 git 仓库:
mkdir booksys 创建一个文件夹
cd booksys 进入文件夹中
git init 创建git仓库, 就是这个文件夹
touch README.md 创建一个文件
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/fivenian1/booksys.git
git push -u origin master
已有仓库?
cd existing_git_repo
git remote add origin https://gitee.com/fivenian1/booksys.git
git push -u origin master
本文来自博客园,作者:长情不羁的五年,转载请注明原文链接:https://www.cnblogs.com/grlend/p/14115599.html


浙公网安备 33010602011771号