-
HOW TO CLONE FORKED REPOSITORY?
-
To clone your fork into your local machine
git clone https://github.com/YOUR-USERNAME/REP-NAME
after this, do
cd REP-NAME
to move into newly made folder (with nameREP-NAME
) -
To connect to main repository (to update changes made in main repository)
git remote add upstream https://github.com/ORIGINAL-OWNER/REP-NAME
-
-
HOW TO UPDATE LOCAL DIRECTORY?
-
Fetches updates made in main repository
git fetch upstream
-
Merges the updates made in main repository to your local clones repository
git merge upstream/main
-
-
HOW TO PUSH INTO FORKED REPOSITORY?
-
Add all changes made in your local directory to a push queue
git add .
(here “.” means add all changes)(do a
git status
to see all changes in the push queue) -
Make a commit
git commit -m "enter commit message here"
-
Pushes the committed changes from your local directory to your forked repository
git push origin main
(do a
git log
to see all commits made so far)
-
-
HOW TO RUN THE PROJECT IN BROWSER?
-
To install npm modules:
npm install
-
To run the project in browser
npm run dev
(this varies depending on the build tool used, in this case we are using vite)
-
-
HOW TO CREATE PULL REQUESTS?
- Go to your forked repository
- click contribute
- click create pull request
-
COLOR PALETTE
-
LIGHT MODE: Primary: #F0ECE5 Secondary: #161A30
-
DARK MODE: Primary: #161A30 Secondary: #F0ECE5 or #B6BBC4
-
NOTES: APPLICATION DATA IS STORED INTO HISTORY ONLY AFTER STUDENT COMES BACK TO COLLEGE