index.html is common html, you can customize anything, this is a quick start to replace the content.
Assume you have forked master branch and created new branch named base_line
, you want to upload xCAT introduction video
and change user scenarios
for the index.html
in your Macbook.
- Git clone
base_line
branch to your Macbook
git clone -b base_line https://github.com/bybai/xcat2.github.io.git
- Copy new video
introduction.mp4
intoxcat2.github.io.git/webcontent/assets
directory to replace old videopower9.mov
.
cp introduction.mp4 xcat2.github.io.git/webcontent/assets
git add introduction.mp4
git rm power9.mov
-
Edit
index.html
, and findpower9.mov
, change it asintroduction.mp4
, save the page -
Use
firefox
browser in your Macbook to openindex.html
to check the results
- Copy the text "Top 1 and 2 High performance computing" from
firefox
browserindex.html
, open theindex.html
usingvim
, find "Top 1 and 2 High performance computing" and edit it, save the page
vim index.html
git add index.html
- Use
firefox
browser in your Macbook to openindex.html
to check the results
git diff --cached
git commit -a -m "update ..."
git push