摘要:
最近在用php开发时项目中遇到了版本问题,特此记录下php不同版本的一些特性记录,以备忘。 一:php5.3中的新特性 1)开始支持命名空间(Namespace) 2)支持延迟静态绑定(Late Static Binding) 3 ) 支持goto语句 4)支持闭包、Lambda/Anonymous 阅读全文
posted @ 2016-03-07 18:25
逝o0
阅读(226)
评论(0)
推荐(0)
摘要:
1)git remote add : 添加远程仓库 git remote add origin git@github.com:用户名、仓库名.git 2) git push –u origin master : 推送到master分支 3)推送到master以外的分支 git checkout –b 阅读全文
posted @ 2016-03-07 17:00
逝o0
阅读(106)
评论(0)
推荐(0)
摘要:
一)git init 初始化仓库 要使用Git进行版本管理,必须先初始化仓库,请先建立一个目录并初始化仓库 mkdir gittest cd gittest git init 初始化成功以后会在当前目录下建立一个.git的隐藏文件 这个.git目录内存储着管理当前内容所需的仓库数据,在git中我们将 阅读全文
posted @ 2016-03-07 15:17
逝o0
阅读(293)
评论(0)
推荐(0)
摘要:
记录下git的基本使用方法,这里是以ubuntu14.04为例。 1,使用前的初始设置 git config –global user.name “FirstName LastName” git config –global user.email “your email address” 可以使用 阅读全文
posted @ 2016-03-07 10:55
逝o0
阅读(147)
评论(0)
推荐(0)