
Git
sunny-sky
赠人玫瑰手留余香.人生最大的快乐不在于占有什么而在于追求什么的过程.
展开
-
Eclipse上GIT插件EGIT使用手册
一_安装EGIT插件 http://download.eclipse.org/egit/updates/ 或者使用Eclipse Marketplace,搜索EGit 二_使用EGIT前的配置 配置个人信息,最重要的是user.name和user.email l Prefe转载 2013-09-02 09:42:23 · 1026 阅读 · 0 评论 -
Cygwin Application initialization failed: no display name and no $DISPLAY environment
使用新版本的Cygwin,安装时出现很多问题。------------------留作参考---------------------- 首先从官网下载setup.exe后运行安装,选择需要的包。 在终端输入gitk后出现错误: Application initialization failed: no display name and no $DI转载 2014-03-20 17:17:19 · 3838 阅读 · 0 评论 -
Git 的origin和master分析
首先要明确一点,对git的操作是围绕3个大的步骤来展开的(其实几乎所有的SCM都是这样) 1. 从git取数据(git clone) 2. 改动代码 3. 将改动传回git(git push) 这3个步骤又涉及到两个repository,一个是remote repository,再远程服务器上,一个是local repository,再自转载 2014-03-31 17:12:18 · 776 阅读 · 0 评论 -
github常见操作和常见错误!错误提示:fatal: remote origin already exists.
原文链接:http://blog.youkuaiyun.com/dengjianqiang2011/article/details/9260435 如果输入$ git remote add origin git@github.com:djqiang(github帐号名)/gitdemo(项目名).git 提示出错信息:fatal: remote origin already exi转载 2014-12-01 11:39:39 · 945 阅读 · 0 评论 -
git 服务器端建立项目
$ cd myproject 你建立的项目文件夹 $ git init 执行git的本地初始化 $ git add . 将所有的文件添加到版本控制系统 $ git commit -m 'initial commit' 在本地提交到版本库 $ git remote add origin git@116.255.160.144:转载 2014-12-01 11:41:49 · 791 阅读 · 0 评论 -
git 命令大全
$ git remote -v 这个命令可以显示对应项目的远程克隆地址。原创 2014-12-01 11:43:21 · 740 阅读 · 0 评论 -
Git提交到多个远程仓库
来源:http://stackoverflow.com/questions/5785549/able-to-push-to-all-git-remotes-with-the-one-command 有两种做法,先看第一种 一、通过命令行进行操作 例如我有下面两个仓库: Mybatis通用Mapper https://git.oschina.net/free转载 2015-03-10 13:56:39 · 1151 阅读 · 0 评论