about git-merge "Binary files differ"
来源:互联网 发布:amd是什么软件 编辑:程序博客网 时间:2024/05/23 21:22
=>run "git merge master"
than:
warning: Cannot merge binary files: 1 (HEAD vs. master)
Auto-merging 1.c
CONFLICT (content): Merge conflict in 1.c
Auto-merging 1
CONFLICT (content): Merge conflict in 1
Automatic merge failed; fix conflicts and then commit the result.
=>run "git diff"
than:
diff --cc 1
index 6d0cda6,d34cdef..0000000
Binary files differ
diff --cc 1.c
index 18b4f17,7a293d3..0000000
--- a/1.c
+++ b/1.c
@@@ -2,8 -2,7 +2,12 @@@
#include<stdlib.h>
int main(int argc, char** argv)
{
++<<<<<<< HEAD
+ printf("tom:\n");
+ printf("jane:\n");
++=======
+ printf("Alice:\n");
++>>>>>>> master
if(argc < 2)
{
printf("pls input more than 2 args\n");
=>run "./1 3"
than:
tom:
jane:
hello world
hello world
hello world
====================================
so:
binary file will not insert the differents as text file,
if you want to change it, you should copy another
one and replace. run "git add filename" &
"git commit".
- about git-merge "Binary files differ"
- git cherry-pick 时遇到 cannot merge binary files问题解决办法
- LINUX 下diff 比较文件时出现错误:Binary files file1.txt and file2.txt differ
- Compare files' differ and backup
- Compare to files,printing the first line where they differ
- about git
- GIT ABOUT
- MP4Box Merge MP4 Files
- git pll and notice: untracked working tree files would be overwritten by merge
- Git pull error:Your local changes to the following files would be overwritten by merge解决方法
- Git pull error: Your local changes to the following files would be overwritten by merge:
- git错误解决:error: The following untracked working tree files would be overwritten by merge:
- git使用error: Your local changes to the following files would be overwritten by merge:
- git error: The following untracked working tree files would be overwritten by merge
- Your local changes to the following files would be overwritten by merge: git
- [Git] error: Your local changes to the following files would be overwritten by merge
- [Git] error: Your local changes to the following files would be overwritten by merge
- 解决git The following untracked working tree files would be overwritten by merge
- SQL Get the primary key name/ drop pk/ add pk
- UVA 12171 Sculpture 离散化 floodfil 立方体体积并 转换
- C++函数调用过程深入分析
- LeetCode: Balanced Binary Tree
- EL表达式中的11个隐式对象
- about git-merge "Binary files differ"
- [LA 6666 Directional Resemblance] 三维最近点对
- FolderSizes v7.1.92
- TCP-UDP Socket
- 排序3:插入排序(2路插入排序)
- android PopupWindow实现从底部弹出或滑出选择菜单或窗口
- 排序4:插入排序(希尔排序)
- hdu 1412 {A} + {B}(简单的合并集合)
- ubuntu root 和 user 用户切换