Note gitee
+++
title = '笔记:Gitee'
date = 2024-03-07T19:13:14+08:00
+++
Gitee.com
| scoop install main/git
git config --global user.name "NonThinning"
git config --global user.email "略"
# 新建learn-dsm文件夹
mkdir learn-dsm
cd learn-dsm
# 使用touch命令,npm未设置镜像时需科学上网
scoop install main/nodejs
npm install touch-cli -g
touch README.md
# 在当前目录初始化
git init
# 将文件加入git
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/NonThinning/learn-dsm.git
git push -u origin "master"
# 将所在文件夹加入git
git add .
|