我们使用git checkout 将B分支上的部分页面代码 添加或覆盖到A分支上
生活随笔
收集整理的這篇文章主要介紹了
我们使用git checkout 将B分支上的部分页面代码 添加或覆盖到A分支上
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
$ git branch
* A
B $ git checkout B message.html message.css message.js other.js $ git status
# On branch A
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: message.css
# new file: message.html
# new file: message.js
# modified: other.js 本地需有該B分支內容才可以拉取的..
總結
以上是生活随笔為你收集整理的我们使用git checkout 将B分支上的部分页面代码 添加或覆盖到A分支上的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 文心一言 VS 讯飞星火 VS chat
- 下一篇: netsh 第一次用这命令