新环境写博客
新环境写博客
Natdog从远处下载分支
- 啥环境也没有
1 | git clone -b mysource --single-branch https://github.com/Natdog-6ix9ine/natdog.git |
- 原来有环境,现在要更新
1
2
3git fetch origin
git checkout main
git merge origin/main
添加到暂存区、commit、推送
1 | git add . |
1 | git clone -b mysource --single-branch https://github.com/Natdog-6ix9ine/natdog.git |
1 | git fetch origin |
1 | git add . |