1 of 11

SLURM Lab Website

slurm-lab-usc.github.io

2 of 11

  1. Updating members

3 of 11

1.1 Fork the project

Fork this project to your own git repository by clicking the `Fork` button:GitHub - slurm-lab-usc/slurm-lab-usc.github.io: Forked from https://github.com/daattali/beautiful-jekyll

4 of 11

1.2 Download the forked project

Use “git clone” or download the project to your local direction.

(NOTE: Here is your forked project, not the original project.)

Commands:

$ git clone https://github.com/…

5 of 11

1.3 Modify your profile

  1. In your local project, upload your photo to “/img/people/”
  2. Modify your information in “/members.md”

6 of 11

1.4 Upload the modification

In your local project, use the following commands to upload your modification

  1. Go to the direction of your forked project and open a terminal.
  2. $ git add .
  3. $ git commit -m “I updated my profile”
  4. $ git push

Note: when you do `git push`, the required username should usually be your email address to your Git account, and the passcode is a temporal generated one (NOT your Git passcode). For how to generate the temporal passcode, refer to next page.

7 of 11

1.4 Upload the modification (continue)

If you don’t have a passcode to push code, then you should generate on following:

Profile -> Setting ->

8 of 11

1.4 Upload the modification (continue)

If you don’t have a passcode to push code, then you should generate on following:

Profile -> Setting -> Developer settings ->

9 of 11

1.4 Upload the modification (continue)

If you don’t have a passcode to push code, then you should generate on following:

Profile -> Setting -> Developer settings -> Finegrained tokens -> Generate new token

10 of 11

1.4 Upload the modification (continue)

If you don’t have a passcode to push code, then you should generate on following:

Profile -> Setting -> Developer settings -> Finegrained tokens -> Generate new token -> token settings -> save your token (write it down to somewhere physically, or you won’t retrieve it)

Note: You probably need to give access to your account, see below:

11 of 11

1.5 Create a pull request (i.e. pr)

Go to your forked Git repository and create a pull request to the original project.

Click here: