git wrok with github
Set up git software when your OS is Win
- download git for windows and then install
Initalizae Enviroment
-
select a position for your work, such as c:\work_place, and then enter that path
- initialize git enviroment
git init
git config –global user.name “9527atct”
git config –global user.email “lqj_614_19@163.com” - pull the remote repository
git pull https://github.com/9527atct/9527atct.github.io.git
Do Some Works Within Reposiory
- edit the files within reposiory, that is, editing some files.
Update to Remote Reposiory
- update
git add .
git commit -m “commit information made by your self”
git push origin master - first update, need to configure the remote information
git remote add origin https://github.com/9527atct/9527atct.github.io.git
git remote -v