Skip to content

Latest commit

 

History

History
81 lines (53 loc) · 2.04 KB

File metadata and controls

81 lines (53 loc) · 2.04 KB

github-session-portfolio

This repository belongs to RAIT ACM for practice only!


Engineering Essentials

Git and Github Session

Watch The Video

How to contribute

  1. Fork the project using the gray Fork button in the top right of this page.
  2. Make any changes in your forked repository.
  3. On this repo, click Pull Requests (which is the third option at the top of this page after the options Code and Issues) and raise a Pull Request by clicking the green New Pull Request button and selecting your fork from the right dropdown field.

You can ask questions by raising an issue.

How to clone the repository and make changes locally

  • 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.

  • 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 https://github.com/YOUR_GITHUB_USERNAME/github-session-portfolio.git
  • Switch to the cloned folder. You can paste this command into the same terminal window.
  cd github-session-portfolio
  • Make a new branch. Your username would make a good branch because it's unique.
  git checkout -b <name-of-new-branch>
  • Stage your changes.
  git add .
  • Commit the changes.
  git commit -m "<Any message by you>"
  • 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

Hurray! You successfully have made your first personal portfolio! 🎉