Use Git Series 1.1-Install
来源:互联网 发布:网络直销不合法 编辑:程序博客网 时间:2024/06/05 18:46
original page
How To Install Git on Ubuntu 14.04
Git & Doc
One of the most popular version control systems is git, a distributed version control system. Many projects maintain theirfiles in a git repository, and sites like GitHub and Bitbucket have made sharing and contributing to code simple and valuable.
How To Install Git with Apt
sudo apt-get updatesudo apt-get install git
How To Install Git from Source
- install before
sudo apt-get updatesudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
- get the git and download
wget https://github.com/git/git/archive/v2.10.1.zip -O git.zip
Unzip the file that you downloaded and move into the resulting directory by typing:
unzip git.zipcd git-*
Make the package and install it by typing these two commands
make prefix=/usr/local allsudo make prefix=/usr/local install
Now that you have git installed, if you want to upgrade to a later version, you can simply clone the repository and then build and install:
git clone https://github.com/git/git.git
To find the URL to use for the clone operation, navigate to the branch or tag that you want on the project’s GitHub page and then copy the clone URL
This will create a new directory within your current directory where you can rebuild the package and reinstall the newer version, just like you did above. This will overwrite your older version with the new version:
make prefix=/usr/local allsudo make prefix=/usr/local install
0 0
- Use Git Series 1.1-Install
- Use Git Series 2-Effectively
- Use Git Series 3-Branches
- Use Git Series 1.2-Set Up
- Git use
- use git
- Git Install
- Git install
- install git
- git#install
- MongoDB install and use
- redis install use
- Win32 Series - Simple Use of the Clipboard
- Win32 Series - Beyond Simple Clipboard Use
- Linux 下 mysql install & use
- cscope install&&use
- Install and use GSL library
- use git send patch
- javascript中数组的方法
- 大规模SOA系统中的分布事务处事_程立
- 事务
- caffe自学-mnist示例程序详解
- HDU 5536 2015ACM-ICPC长春赛区现场赛J题
- Use Git Series 1.1-Install
- Android中marigin和padding的区别
- Java 包的定义与使用
- Serlvlet
- Revit开发实现在modeless对话框中无法删除构件
- Centos VPN 安装配置 PPTP 脚本
- Use Git Series 1.2-Set Up
- 基于小波变换的图像对比度增强算法http://blog.csdn.net/ebowtang/article/details/50477720
- LightOJ1029-Civil and Evil Engineer-生成树