如何在终端使用git
1. How to connect to remote branch using git
如何绑定远程文件库到本地
step1:下载git(DOWNLOAD GIT)
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
step2:初始化git(Configure Git)
认证你是working branch的作者
在你的终端输入:
git config --global user.name "your_username"
git config --global user.email "your_email_address@xxx.com"
git config --global --list
step3: 复制远程文件库(clone a repository)
copy via http or ssh: copy the link start with “http” or “ssh” and paste it to your terminal
复制远程文件库的网址(以http 或者 ssh开始的连接)到你的终端
git clone ssh://git@xxx.com:7999/~wpan