随笔分类 -  Git

Git相关
摘要:1、本地创建一个目录redis[guosong@etch171 mars171 redis]# pwd/data1/guosong/code/redis[guosong@etch171 mars171 redis]# lltotal 12drwxr-xr-x 2 guosong guosong 40... 阅读全文
posted @ 2014-10-24 01:35 小郭学路 阅读(366) 评论(0) 推荐(0) 编辑
摘要:Git命令补全功能1、下载下面的文件https://github.com/sguo421/code/blob/master/git-completion.bash2、放倒HOME目录下,设置为隐藏文件[root@typhoeus82 git_test]# ls -al ~ |grep git ... 阅读全文
posted @ 2014-10-20 10:59 小郭学路 阅读(302) 评论(0) 推荐(0) 编辑
摘要:检查当前文件状态[root@typhoeus79 ice_test_m git_test]# git status# On branch masternothing to commit (working directory clean)说明当前git目录很干净,所有已跟踪的文件在上次提交后没有修改过... 阅读全文
posted @ 2014-10-15 23:24 小郭学路 阅读(318) 评论(0) 推荐(0) 编辑
摘要:先标记一下,后续手动验证http://blog.csdn.net/king_sundi/article/details/7457475安装GitoriousGit是一个分布式的版本控制系统,用于Linux内核的管理。在推出后,Git也逐渐被用于其他项目,同样也取得了很大的成功。GitHub则是基于G... 阅读全文
posted @ 2014-05-13 20:48 小郭学路 阅读(360) 评论(0) 推荐(0) 编辑
摘要:1、初始新建git,出现No refs in common and none specified; doing nothing解决方案:Perhaps you should specify a branch such as 'master',指定master2、主分支更新了,但是其他分支还是旧的?3... 阅读全文
posted @ 2014-04-29 14:49 小郭学路 阅读(1218) 评论(0) 推荐(0) 编辑
摘要:githelptag#tag的用法gittaggittag-dxxx#删除taggittagv1.1#新增taggitdescribe--tag# 阅读全文
posted @ 2013-11-27 20:11 小郭学路 阅读(311) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示