随笔分类 -  git

摘要:从服务器克隆项目(178/gerrit)git clone root@192.168.2.178:/root/git_repository/xxx.gitgit clone ssh://account@192.168.2.178:29418/xxx.git合并服务器的代码提交git fetch origin branch_namegit rebase origin/branch_name //推荐提交本地代码到服务器 (178)git push origin branch_name提交本地代码到服务器 (gerrit 代码审核服务器)git push origin branch_name:r. 阅读全文
posted @ 2013-05-03 15:32 雨中雷 阅读(309) 评论(0) 推荐(0)
摘要:简单了解git命令linux下 打开终端locate .gitconfig找到gitconfig文件的位置,vim .gitconfig然后添加如下:[user] name = 雷腾 email = lvjavapro@163.com[core] editor = vim excludesfile = /root/.gitignore[alias] st = status ci = commit df = fiff co = checkout br = bran... 阅读全文
posted @ 2013-03-27 15:30 雨中雷 阅读(429) 评论(0) 推荐(0)