zl程序教程

您现在的位置是:首页 >  其它

当前栏目

gitee创建仓库后

创建 仓库 Gitee
2023-09-11 14:22:20 时间

  原来gitee上的仓库是私有的,分享不够方便,特地创建了新的仓库ds2122,具体名称:https://gitee.com/guochaoxxl/ds2122.git

  官方提示:

简易的命令行入门教程:

Git 全局设置:

git config --global user.name "guochaoxxl"
git config --global user.email "guochaoxxl@163.com"

创建 git 仓库:

mkdir ds2122
cd ds2122
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/guochaoxxl/ds2122.git
git push -u origin master

已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/guochaoxxl/ds2122.git
git push -u origin master