Instructions
Read and get started!
Hello, and welcome to this website!
Through this activity-based tutorial, you’ll learn how to:
Fork
a repositoryClone
a repository- Add your files (in the right format for the purposes of the project), including but not limited to:
- Name, and other personal details
- Profile image
- Links
Commit
, andPush
your changes to the repository- Confirming the pull request
Forking the repository
Background information about forking: Github Documentation
A fork is a copy of a repository.
Forking a repository allows you to freely experiment with changes without affecting the original project. This is something you’d want to do on a regular basis, to make sure that your changes work and do not affect any other part of the project in an adverse manner.
These are the steps to follow:
- Navigate to the repo, and click on the
fork
button. - This should create a repo with the name of the form
YOUR-USERNAME/YOUR-REPOSITORY
Cloning the forked repository
Background information about cloning: Github Documentation
When you clone a repository, you copy the repository from GitHub to your local machine.
These are the steps to follow:
- Open your terminal window, and navigate to a newly created folder. An example implementation is:
mkdir MyIntro
cd MyIntro
- Then, go to your forked repository, click on the green code button and copy the link provided.
- Then, go to your terminal and paste it. It could be of the form,
git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
Adding your files and information
Now for the fun part!
You’ll need the following files ready:
- A background picture for your post. Call it
YOUR-ROLL-NUMBER-BACKGROUND.jpg
Now, open your code editor of choice, and add the image as follows:
- Add
YOUR-ROLL-NUMBER-BACKGROUND.jpg
intoimg
folder.
For the post itself, we’ll use the follwing format:
Filename: 2021-01-01-<YOUR-ROLL-NUMBER>.markdown
---
title: "YOUR-NAME"
subtitle: "About Me"
author: "YOUR-NAME"
image: "img/YOUR-ROLL-NUMBER-BACKGROUND.jpg"
date: 2021-01-01 12:12:12
---
## About me
...
## Socials
[Caption](link)
...
Feel free to add your creative touch to the segments, but make sure to only modify the content below the two ---
placeholders. Create this file and add it to the _posts
folder.
Psst. Check this out for some markdown syntax: Markdown basic guide
Committing and Pushing your changes
First, let’s add the files. This is done by performing the following commands:
git add img/YOUR-ROLL-NUMBER-BACKGROUND.jpg
git add _posts/2021-01-01-<YOUR-ROLL-NUMBER>.markdown
Now, type git status
. It should be all green.
Now, we commit our files by typing git commit -m "Added files for YOUR-ROLL-NUMBER"
.
Finally, we push the changes by typing git push
.
Confirming the pull request
Go back to your created repo on github and click on the Compare and Pull request
. Add relevant additional information, and you’re done!
Celebration Time
We hope that everything went smmoothly. If not, do not hesitate to contact us :)
You can see the fruits of your hardwork here
Test User
About Me
About me
Don’t Mind Me, I’m just a Test User. I love Zense, do checkout the links below.
Socials
Chinmay Parekh
About Me
About me
Hi Zense,I am Chinmay Parekh from Mumbai.I like to play cricket,table tennis and learn new things.
Socials
Sarthak Harne
Sooraj Sathish
About me
Hey I am Sooraj from Bangalore. I love watching anime and listening to podcasts while cycling. Hope the campus opens soon!!
Socials
None
Mayank Chadha
Ahh good point good point
Rishi Vakharia
Intro
About me
Hey, Zense. Just a beginner here to programming, trying to learn cool things.
I like playing Cricket and listen to songs.