The app page can be viewed here: http://maihameed.me/ruhacks20
- Click the
contributors.json
file to open it up - Click on the edit button, it looks like a pencil
- Add your GitHub username to the list, make sure it's somewhere above
"MaiHameed"
- (optional) Add a title for your commit
- Click the
Propose file change
button, it will automatically take you to the "Open a pull request" page - Ensure that the head repository is your forked repository, it should be
<your-username>/ruhacks20
, and the base repository isMaiHameed/ruhacks20
(it should be by default). - Click the
Create pull request
button.
Congratulations! You've opened a pull request! Find and comment on another person's pull request, and wait for me (Mai) to merge your changes. Once merged, you can revisit http://maihameed.me/ruhacks20 to view your newly added avatar and hyperlink!
Check out the Git Cheat Sheet
- Make sure you have Git installed, test it by running the following
git verison
, you should get an output similar to:
git version 2.24.1 (Apple Git-126)
- Fork the
MaiHameed/ruhacks20
repository, it'll create a copy of the repository on your profile with the same name - Visit your fork, and click the
clone or download
button, and copy the URL for HTTPS cloning - In your terminal run the following command to clone your repo:
git clone <url>
- Navigate to the newly cloned
ruhacks20
directory:
cd ruhacks20
- (optional) Create a new branch to make your changes in. Typically, best practice
calls for your branch name to have a consice title that
showcases what the branch is doing. For example
delete-name
. Run the following command to create a new branch and switch to it:
git checkout -b <your-branch-name>
- Delete your name from the
contributors.json
file (you can use vim or any text editor or IDE) - In your terminal, run the following command to stage your change for a commit:
git add contributors.json
- Run the following command to commit your change with a short commit message:
git commit -m "your commit message"
- (optional) If you made your changes in a separate branch, run the following to
merge your changes to your
master
branch:
git checkout master
git merge <your-branch-name>
- Run the following command to push your master branch to your remote repository
(your
<your-username>/ruhacks20
repository) - Revisit your repository on GitHub to view your latest commit
- Navigate to the
Pull requests
tab - Click on
New pull request
- Create a pull request from your master branch to mine
- Look for your pull request on the
MaiHameed/ruhacks20
repository to ensure that it went through
Congratulations! you used the Git CLI to open a pull request!
PS. Don't worry, I won't merge your PR to remove your name 😄
You can clone this repo and run it locally on your machine. To do so you'll need
to install node.js
and npm
and run the following command in your terminal:
npx serve