OPS学习资料

Jeremy Zheng a15b99b180 add Linux Advanced Routing & Traffic Control HOWTO 1 週間 前
git a15b99b180 add Linux Advanced Routing & Traffic Control HOWTO 1 週間 前
images f825af1134 add git tutorial 1 週間 前
linux a15b99b180 add Linux Advanced Routing & Traffic Control HOWTO 1 週間 前
softwares c76417cc8c add git & linux tutorial 1 週間 前
.gitignore f825af1134 add git tutorial 1 週間 前
ISSUES.md 0efa5b245d add git email/username setup 1 週間 前
LICENSE 47d41e9462 Initial commit 1 週間 前
README.md 90b10ccd5c add details for ssh key settings 1 週間 前

README.md

闲人指路

创建用户

克隆项目

  • 下载并安装git for windows
  • 打开git bash: 右键点击工作目录选择“Git Bash Here”
  • 设置git账户信息

    git config --global user.name "用户名"
    git config --global user.email "邮箱"
    
  • 获得项目地址

Clone by https

通过密码(HTTPS)

git clone https://git.wikipali.org/iapt-platform/tutorial.git

无密码(SSH)

  • 创建ssh key

    mkdir .ssh
    ssh-keygen -t rsa -f .ssh/id_rsa -b 4096 -C "邮箱"
    
  • .ssh/id_rsa.pub内容添加到你的账户

    • 打开配置页面 step 1
    • 添加ssh key step 2
  • 克隆项目

    eval "$(ssh-agent -s)"
    ssh-add .ssh/id_rsa
    git clone ssh://git@git.wikipali.org:2222/iapt-platform/tutorial.git
    

学习资料