git:
1.git clone https://github.com/lfxy/thread-pool.git thp
(
2.git add .
3.git commit -am "update initial code"
4.git push
)上传
5.git status
(
6.git pull
7.git add Task.h
8.git commit -am "update task"
9.git push
)
(
git add -A .
git commit -m "your comment"
git push origin HEAD:refs/for/master
)
git init
git config --global user.email "lfxy@163.com"
git config --global user.name "lfxy"
git add readme.txt
git commit -m "demo"
git remote add origin https://github.com/lfxy/hello.git
git push -u origin master
git commit --amend -s
git push origin HEAD:refs/for/master