Git
sh
# 设置用户
git config --global user.name Rhyheart
git config --global user.email 8120183@qq.com
# 设置执行策略
Set-ExecutionPolicy RemoteSigned
# 初始化仓库
git init
# 设置远程仓库地址
git remote set-url origin [registry_url]
# 添加所有更改到暂存区
git add .
# 提交更改
git commit -m "feat: init"
# 推送代码到远程仓库
git push -u origin [branch_name]
# 回退版本
git reset --hard [commit_id]
# 强制推送
git push origin [branch_name] --force