Welcome to the Research and Innovation Team Portfolio Showcase 🚀
This repository is created for our GitHub hands-on workshop to help first-year students learn how open-source contributions work in a real project.
Each student will contribute by adding:
- a short intro card on the main page
- their own portfolio page
- a working View Portfolio link
This helps you learn real GitHub contribution workflow in a simple way.
Every student will work on only their own section.
The project structure is:
portfolio-showcase/
│
├── index.html
├── style.css
├── script.js
│
└── portfolios/
├── john-doe.html
├── karthik.html
├── rahul.html
You need to contribute in 2 places only:
<div class="card">
<h3>John Doe</h3>
<p>1st Year CSE</p>
<p>AI enthusiast and web developer</p>
<p>Passionate about building projects</p>
<a href="portfolios/john-doe.html">View Portfolio</a>
</div>Inside the portfolios/ folder, create your own file only
Your portfolio must be a single HTML file only (write HTML/CSS/JS inside the same file).
✅ valid examples:
portfolios/john-doe.html
portfolios/karthik.html
portfolios/rahul.html
❌ do not create portfolio files outside portfolios/
Example:
portfolios/john-doe.html
Only edit:
index.html
portfolios/your-name.html
Example:
index.html
portfolios/john-doe.html
Do not touch:
- someone else’s card
- someone else’s portfolio file
- CSS unless assigned
Before you start working, always run this command first:
git pull origin mainThis gets the latest file updates from the main branch.
Before you push your changes, always pull once again:
git pull origin mainThis ensures you have the latest updates from others and helps avoid merge conflicts.
So the flow is:
pull → edit → status → commit → pull → push
Always check your branch:
git branchExample:
* john-doe
main
The * means current branch.
Go back using your branch name.
Example:
git checkout john-doeBefore committing or pushing, always run:
git statusThis shows what files are changed.
Example:
modified: index.html
modified: portfolios/john-doe.html
✅ correct
If you see someone else’s file:
portfolios/rahul.html
❌ do not commit it
git clone <repository-url>
cd portfolio-showcaseUse GitHub website first.
Optional GitHub CLI:
gh issue create --title "Add your-name portfolio" --body "I will add data/your-name.json and portfolios/your-name.html"git checkout main
git pull origin main
git checkout -b your-name
git pull origin mainportfolios/your-name.html
data/your-name.json
git status
# example
git add portfolios/john-doe.html data/john-doe.jsongit commit -m "Add your-name portfolio"
git push -u origin your-nameCreate PR from your-name branch to main.
Optional GitHub CLI:
gh pr create --base main --head your-name --title "Add your-name portfolio files" --body "Closes #issue-number"By contributing here, you will learn:
- Forking
- Branching
- Pulling latest updates
- Checking edited files
- Creating portfolio pages
- Raising Pull Requests
Happy Contributing 🚀