Visit xiangtaoxu.eeb.cornell.edu 🚀
You can add new files, e.g. create a new post markdown file, upload a new image, etc., or editing existing files directly on github with your browser.
For adding a new file, go to the folder you are editing/updating, click the Add file
button on the upper right corner of the repo.
For updating an existing file, open the the file and directly update.
Each action will automatically create a git commit.
This approach can combine multiple updates into a single commit and help you to practice git/Github operations.
Please set up git on your local computer. Instructions can be found HERE
Then clone the repo on your local machine
git clone git@github.com:BioM2-Lab/xiangtaoxu.github.io.git
git pull origin main
Please refer the official documentation of the Lab Website Template below for details
For add new files or update existing files
git add [filename(s)]
For removing files folders
git rm filename(s)
git rm -r foldername(s)
Then git commit -m "[short sentences summarizing the commit]"
For organization-owned pages, we have to preview locally, please refer to the Documentation in 1.1.2 to set up local preview with docker
git push origin main
No matter you make updates on Github directly or locally and then push the commits, you need to create a pull request at THIS REPO
Click Pull requests
on top of the repo and then click the green button on the upper right New pull request
Select compare across forks
and make sure you change the head repository to below
And then create the pull request.