基本git安装与使用
pacman -S openssh
ssh-keygen -t rsa -C "woodenji@126.com"
cd
cd .ssh
cat id_rsa.pub
pacman -S git
git config --global user.name "木子鸡"
git config --global user.email "woodenji@126.com"
(vim .gitconfig)
mkdir path/repo
cd path/repo
git init
git remote add origin git@code.csdn.net:woodenji/the-abc-of-c.git
touch README.md
git add README.md
git commit -t "touch README.md"
git push origin master
git pull origin master
git clone git@code.csdn.net:woodenji/the-abc-of-c.git
(generate a the-abc-of-c directory)
rm file
git rm file
git commit -m "rm file"
git push origin master
.gitignore 设置屏蔽目录
bin/