mkdir -pv git-basecd git-baseecho "# git基础教程" >> README.mdgit initgit config --global user.name "iflyelf"
git config --global user.email iflyelf@gmail.comgit add .git commit -a -m "添加 README.md 文件"格式: git remote add [shortname] [url] 备注: shortname 为本地的版本库
git remote add git-base https://令牌@github.com/iflyelf/git-base.gitgit remote -vgit push --force --quiet git-base master:maingit push --force --quiet git-base --delete master1> 从远程仓库下载新分支与数据
git fetch git-base2> 从远端仓库提取数据并尝试合并到当前分支
git merge git-base/main