linux安裝git幷保持最新
一般来说linux系统都会自带git,如果没有git请看第一步,如果有git可以跳过第一步
第一步:
首先确保已经安装了如下依赖包:
$ git pull --all正在获取 originAlready up-to-date.
如果想要使用某个版本的git,可以使用如下命令查看git版本(标签)
$ git reset --hard masterHEAD 现在位于 128a96c Update draft release notes to 1.8.5 for the fifth batch of topics
从第一步看到第三步的用户如果想保持git最新,可以查看第二步。