You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 lines
295 B

7 months ago
7 months ago
7 months ago
  1. git checkout dhy -- aaa.txt 强制合并dhy中的aaa.txt文件
  2. git diff dev dhy -- aaa.txt
  3. git merge dhy --no-edit 不需要每次合并都编辑
  4. git branch里面有 master 没有dev 所以需要让本地dev和远程dev关联上:git branch --set-upstream-to=origin/dev dev 然后 再 git push