bettercodes git环境使用(windows and linux)

来源:互联网 发布:淘宝云客服兼职考试 编辑:程序博客网 时间:2024/05/16 19:37

1、注册bettercodes帐号:地址http://www.bettercodes.org/

2、访问需要加入项目的地址,申请加入项目

3、待申请通过后即可使用git客户端进行项目管理

4、GIT使用

# 1.设置全局变量

 git config --global http.sslVerify false

 # 2.切换到项目目录

cd /change/to/my/git/project/directory

 # 3. 如果项目仓库未初始化# 否则跳到步骤4.

git init

# 4. 提交项目

git commit -m "My initial commit message"

 # 5. 把仓库URL添加到项目中

git remote add origin https://username:password@git.bettercodes.org/iteam-git/

# 6. push the origin master

git push origin master 

# 克隆项目

git clone https://username:password@git.bettercodes.org/iteam-git/

 

原创粉丝点击