
git
junlon2006
Coding for fun.
展开
-
GIT分支管理
转载于:http://roclinux.cn/?p=2129原创文章属于《Linux大棚》博客,博客地址为http://roclinux.cn。文章作者为 rocrocket。为了防止某些网站的恶性转载,特在每篇文章前加入此信息,还望读者体谅。===[正文开始]原文链接:http://www.nvie.com/posts/a-successful转载 2017-03-20 18:06:30 · 197 阅读 · 0 评论 -
Git和Repo管理使用简要介绍
转载于:http://blog.youkuaiyun.com/stevenhu_223/article/details/8828130在Linux平台下进行Android系统项目开发时,需要Git或repo管理。 一. Git和Repo的区别: 1. Git:Git是一个开源的分布式版本控制系统,用以有效、高速的处理从很小到非常大的项目版本管理。转载 2017-03-20 19:47:27 · 397 阅读 · 0 评论 -
Git fetch和git pull的区别
原文: http://www.tech126.com/git-fetch-pull/ Git中从远程的分支获取最新的版本到本地有这样2个命令:1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge Git fetch origin mastergit log -p master..origin/mastergit merge origin/mast转载 2017-03-21 08:57:02 · 197 阅读 · 0 评论 -
GIT常用命令小结
1、git init 初始化2、git add filename3、git commit -m "commit comment"4、git diff5、git status6、git log --pretty=oneline7、git reflog8、git reset --hard HEAD (ID)原创 2016-11-19 17:11:49 · 231 阅读 · 0 评论 -
vim产生的临时.swp文件
1、vim编辑器,在terminal被意外关闭时,会产生.swp文件,用于记录上次文件修改信息:2、打开shmm.c时候,会有提示信息:3、合并后,可以手动删除掉,以免GIT一直提示有文件变更。4、rm -rf shmm.c.swp原创 2017-03-22 09:02:39 · 3256 阅读 · 0 评论 -
git 多次提交合并
git reset HEAD~numgit log --pretty=format:"%h %cd %s"原创 2017-08-25 13:48:34 · 354 阅读 · 0 评论 -
[Issue]repo/repo init-解决同步源码Cannot get http://gerrit.googlesource.com/git-repo/clone.bundle
转载于:http://www.cnblogs.com/aaronLinux/p/5862235.html1. 前两天想搭建freescale L3.0.35_4.1.0_BSP包,结果LTIB环境搭建好,也编译出rootfs/uboot/kernel的Image了,但是准备移植uboot的时候发现uboot-200908版本的board/freescale下面并没有imx6的板转载 2017-09-11 10:14:40 · 661 阅读 · 0 评论