08 2018 档案

Centos 7 配置静态ip
摘要:1、配置ip vim /etc/sysconfig/network-scripts/ifcfg-eno16777736 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.1.99 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 阅读全文

posted @ 2018-08-30 21:52 Xiaox-xin 阅读(113) 评论(0) 推荐(0)

Git 合并多个commit 和 cherry-pick的使用
摘要:合并多个commit 1、三个commit合并 git rebase -i commit_id 其中,-i 的参数是不需要合并的 commit 的 hash 值,这里指的是第一条 commit, 接着我们就进入到 vi 的编辑模式 2、pick 和 squash 选择 pick 的意思是要会执行这个 阅读全文

posted @ 2018-08-03 10:54 Xiaox-xin 阅读(1410) 评论(0) 推荐(0)

导航