merge 两个branch 时:比如 r1, r2 两者都有一个bianry
git co r1
git merge r2
然后报错
Auto-merging bin/libaudio.a
CONFLICT (content): Merge conflict in bin/libaudio.a
Automatic merge failed; fix conflicts and then commit the result.
zhaoyulong@macos:audio/audio_prj$ git st
# On branch master
# Unmerged paths:
# (use "git add/rm
by zylthinking - C/C++ - 2012-02-21 10:33:50 阅读(5823) 回复(5)
想用git 下载 samba的源码到本地 用命令 git clone git://git.samba.org/samba.git 可是结果是 connection refused. 因为从来没有用过git, 不知道是怎么回事? samba这样的网站应该不需要用户名口令才能下载他们的代码吧? 是哪里需要设置一下么?
我是linux的新手,上午刚安装好git,然后用git clone下载ldtp,结果出现如下问题(之前下载过ldtp,source安装的): fatal: destination path 'ldtp' already exists and is not an empty directory. 之前下载的ldtp我又找不到,google了好久,还是没找到解决方案,麻烦各位高手帮帮忙!非常感谢! 一直在线等待~~~
今天继续学习了,特喜欢晚上静静的坐在电脑前,做点自己喜欢的事! 昨天基本熟悉了一下git的几个命令,今天就按照文档,自己弄个例子来熟悉昨天的命令。 假设有一个项目:git4test1,里面暂时就一个main.c文件。 1.先用git init命令导入该项目 weijianhua@wjh-laptop:~/git_test$ cd git4test1/ weijianhua@wjh-laptop:~/git_test/git4test1$ git init Initialized empty git repository in /home/weijianhua/git_test/git4t...
本帖最后由 hushui 于 2012-07-10 19:17 编辑 git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git cd linux-git $ git branch v2.6.24 $ git branch v2.6.32 [lake@Linux-Shanghai linux-git]$ git branch * (no branch) master v2.6.24 v2.6.32 $git checkout v2.6.32 warning: refname 'v2.6.32' is ambiguous. Switched to branch 'v2.6.32' [lake@Linux-Shanghai linu...
git是一个svn类似的开源版本控制工具,最近很流行,像adroid的源代码就用gif发布
在只提供http代理的局域网内如何用git连接远程服务器? git使用了curl,因此设置了curl的代理服务器就可以让git使用代理了,有两种方法: 1. export http_proxy=”10.167.129.20:8080″ 2. 编辑配置curl配置文件:~/.curlrc,把代理地址写进去 然后尝试下面几种方法,以下载util-linux-ng为例: 1. git-clone git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git 结果:失败,因为这样不是通过http连接(注意开头...
在实验室想git点东东下来,折腾了会,算是基本可用了吧 man git-config 可以看到git支持的代理是依赖别的程序的 这里我使用的是一个别人写的代理小程序,见附件 配置步骤如下: 1. gcc -o connect connect.c mv connect ~/bin 2. 设置一个wrapper echo "/home/gigi/bin/connect -H proxy.bupt.edu.cn:8080 $@" >> ~/bin/proxy chmod +x ~/bin/proxy 这里我使用的是学校的代理 proxy.bupt.edu.cn,端...
Linux内核代码可以通过git来管理。在Linux下面安装git包,git的图形界面是qgit. windows下面也有对应的版本 qgit: sourceforge.net/projects/qgit git: http://code.google.com/p/msysgit/ 使用git下载内核代码: git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93140/showart_1981478.html