Skip to content

Commit

Permalink
git修改分支命令
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdahao-wh committed Feb 5, 2023
1 parent db5a3bf commit cee3f98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ index.html/
lib/*.txt
6.#忽略 doc/目录及其所有子目录下的.docx文件
doc/**/*.docx

git 修改分支 命令
//远端手动修改 本地执行下列操作
git branch -m main master
git fetch origin
git branch -u origin/master master
git remote set-head origin -a

0 comments on commit cee3f98

Please sign in to comment.