Skip to content

PrashansaNavgare/gdscghrcem.github.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GDSC GHRCEM

This is a repository for you to pratice and make pull request by adding your image to our website.

Logo

Instructions:

  • Fork the project: Click the gray Fork button in the top right of this page. This creates your copy of the project and saves it as a new repository in your github account

Logo

  • Click on the green Code button, then either the HTTPS or SSH option and, click the icon to copy the URL. Now you have a copy of the project. Thus, you can play around with it locally on your computer.

Logo

  • Run the following commands into a terminal window (Command Prompt, Powershell, Terminal, Bash, ZSH). Do this to download the forked copy of this repository to your computer.
  git clone LinkCopied
  • Switch to the cloned folder. You can paste this command into the same terminal window.
  cd gdscghrcem.github.io
  • Open the colned files in vs-code
  code .
  • Make a new branch. Your username would make a good branch because it's unique.
  git checkout -b <name-of-new-branch>
  • Open the assets folder and paste you 1:1 ratio image there.
  • Then open the index.html file and paste the path of the image alloted to you.
  <img src="./assets/name.png" id="img" />
  • Stage your changes.
  git add .
  • Commit the changes.
  git commit -m "Add image" 
  • Check the status of your repository.
  git status
  • The response should be like this:
On branch <name-of-your-branch>
nothing to commit, working tree clean
  • Pushing your repository to GitHub.
  git push origin <name-of-your-branch>

or

  git branch -M main
  git push -u origin main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 88.0%
  • CSS 11.8%
  • JavaScript 0.2%