1 simple ,本地和远程分支同名才会推送,只会推送当前的分支到远程 ,默认推送分支数量:1 2 matching , 会推送匹配的本地分之到远程分之,假如本地有的分支远程没有,不会把本地推送到远程,默认推送分支数量:多个 3 nothing, 要自己些refspec参数,来如何分配,默认什么都 ...
分类:
其他好文 时间:
2018-05-06 13:26:51
阅读次数:
159
java.util.HashMap Java7/8中HashMap(和 ConcurrentHashMap)的相关基本操作源码介绍,这里可以直接参考【Java7/8 中的 HashMap 和 ConcurrentHashMap 全解析】,介绍得还是挺详细的,就不班门弄斧了。 关于Java7的Hash ...
分类:
编程语言 时间:
2018-05-06 00:13:50
阅读次数:
216
root用户使用yum install -y python-pip 时会报如下错误:No package python-pip availableError:Nothing to do解决方法如下: 首先安装epel扩展源: yum -y install epel-release 更新完成之后,就可安装pip: yum -y install python-pip 安装完成之后清除cach
分类:
编程语言 时间:
2018-05-04 11:55:21
阅读次数:
156
yield具有接受和返还值两种功能,在上面的程序中,yield可以接受来自g.send(input())的数据,并将接受得到的数据赋值给recv,同时yield也会返回yield后的数据,例如上程序中recv=yield 'Hi' 中返还Hi,类似return的功能。 程序执行过程中,遇到含有yie ...
分类:
其他好文 时间:
2018-04-30 13:31:20
阅读次数:
107
C#预处理器指令是在编译时调用的。 预处理器指令(preprocessor directive)告诉C#编译器要编译哪些代码,并指出如何处理特定的错误和警告。 C#预处理器指令还可以告诉C#编辑器有关代码组织的信息。 1. 定义符号和取消符号定义的预处理指令#define 和 #undef 预处理指... ...
# data = open('nothing_on_you.txt', encoding='utf-8').read() f = open('nothing_on_you.txt', 'r', encoding='utf-8') # 只读 data = f.read() data2 = f.read... ...
分类:
其他好文 时间:
2018-04-28 14:16:47
阅读次数:
119
rep_word = 'The piece is gone, left the puzzle undone' # \ 换行,跟shell一样 with open('nothing', 'r', encoding='utf-8') as f, \ open('nothing1', 'w', encod... ...
分类:
其他好文 时间:
2018-04-28 11:43:06
阅读次数:
212
Early-morning births are genetically programmed THE notion that nothing good happens after midnight does not seem to apply to times of birth. Around t ...
分类:
其他好文 时间:
2018-04-27 12:11:56
阅读次数:
280
1.Sometimes ever ,sometimes never! 相聚有时,后会无期 2.We are all in the gutter,but some of us are looking at the stars. 即使深陷泥潭,也要仰望星空 /身在井隅,心向璀燦 3.Nothing is ...
分类:
其他好文 时间:
2018-04-26 18:22:32
阅读次数:
179
26. I'm in a good mood. 我现在心情很好。 27. I look forward to hearing from you. 我期待着你的来信。 28. It's better than nothing. 总比没有好。 29. Let me guess. 让我猜猜看。 30. T ...
分类:
其他好文 时间:
2018-04-24 21:46:14
阅读次数:
164