Skip to content

Commit 96bdcef

Browse files
committed
Addes New ReadMe
1 parent e184da6 commit 96bdcef

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,37 @@
1-
# Readme
1+
# Git Workflow Practice Project
2+
3+
This project is a hands-on exercise to understand **forking**, **pull requests**, and working with **upstream repositories**. It demonstrates how to contribute to open-source projects using GitHub and Git commands.
4+
5+
This mini project demonstrates a standard GitHub contribution workflow (forks, branches, pull requests) and a quick front-end exercise: **creating a perfect circle using a `<div>`**.
6+
7+
---
8+
9+
## 🧭 Goals
10+
- Get familiar with **forks** and **pull requests**
11+
- Use git commands to manage an **upstream** repository
12+
- Practice secure auth with a **Personal Access Token (PAT)**
13+
- Make a small UI change: **CSS circle using a div**
14+
15+
---
16+
17+
## βœ… Prerequisites
18+
- Git installed
19+
- GitHub account
20+
- (Recommended) SSH keys or a **Personal Access Token (PAT)** for HTTPS pushes
21+
22+
---
23+
24+
## 1) Workflow: Fork β†’ Clone β†’ Branch β†’ Commit β†’ Push β†’ PR
25+
26+
### 1. Create a Personal Access Token (PAT)
27+
- GitHub β†’ **Settings** β†’ **Developer settings** β†’ **Fine-grained tokens** (or **Classic**)
28+
- Give repo scopes (e.g., `repo`) β†’ Generate and copy the token
29+
- Use it instead of password when pushing over HTTPS
30+
31+
### 2. Fork the Repository
32+
- On GitHub, open the original repo β†’ click **Fork**
33+
34+
### 3. Clone Your Fork
35+
```bash
36+
git clone https://github.com/SaurabhLP88/gkpbt-css-circle.git
37+
cd gkpbt-css-circle

0 commit comments

Comments
Β (0)