GIT使用

来源:互联网 发布:淘宝客api调用实例php 编辑:程序博客网 时间:2024/04/30 06:00

很多开源项目都是GIT管理,大势所趋,安装学习之。

1.安装git,将%GIT_HOME%/cmd设置为环境变量


初始化以下全局变量:
$git config --global user.name "your name"
$git config --global user.email "your@email.address"

2.下载git项目

进入到需要下载项目的文件夹,初始化为git仓库
$git init
执行下载命令
$git clone https://bitbucket.org/robotframework/webdemo.git
原创粉丝点击