-
clone this repository
git clone https://github.com/AcademiaSinicaNLPLab/AcademiaSinicaNLPLab.github.io.git cd AcademiaSinicaNLPLab.github.io
-
make some modifications
-
push to github
git add . # add files modified git commit -m "awesome modification" # leave commit message git push origin master
if you got the following error message, run this script to pull the newest version first!
git pull origin master
git push
error messageTo [email protected]:AcademiaSinicaNLPLab/AcademiaSinicaNLPLab.github.io.git ! [rejected] master -> master (fetch first) error: failed to push some refs to '[email protected]:AcademiaSinicaNLPLab/AcademiaSinicaNLPLab.github.io.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
-
Access academiasinicanlplab.github.io, have fun :P
-
Got permission denined while cloning the .git ?!
git clone xxxxx.git Permission denied (publickey).
take easy, just tell Github that I have the key (permission) to do this :P
-
open your terminal
ssh-keygen
-
press
enter
,enter
andenter
to use default settingcat ~/.ssh/id_rsa.pub
-
copy the prompt "what-the-hell" string
-
click the
Add SSH key
button and paste the "what-the-hell" string, done.
-
-
Template
Miniport 2.5 by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-
Components
jQuery (jquery.com) skelJS (skeljs.org) html5shiv.js (@afarkas @jdalton @jon_neal @rem)