Skip to content

Abhiram-Gullapalli/hacktoberfest-practice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is not included in the Hacktoberfest event, as it is for practice only!

We have other repositories in the organisation you can contribute to. If you would like to join our GitHub organisation, raise an issue on this repo EddieHubCommunity-Support


Hacktoberfest

What is it? Click on the poster below to watch the video for more details📽

Watch The Video

Contributor Covenant

Hacktoberfest Practice Pull Requests

Repo for you to raise a Pull Request for practice.

Just add your name to the alphabetical list and optionally, a link to your GitHub account (In alphabetical order below your letter too)

How to contribute (overall process)

  1. Fork the project, using the gray Fork button in the top right of this page
  2. Make any changes in your forked repo
  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 drop down field.

Questions can be asked by raising an Issue.

How to clone repo and make changes locally after forking

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

  • Using Git on your local machine and paste in the URL. Do this to download the forked copy of this repo to your computer.

  git clone https://github.com/yourGithubUsername/hacktoberfest-practice.git
  • Switch to the cloned folder. This can be done with Gitbash or the integrated terminal in the VSCode editor.
  cd hacktoberfest-practice
  • Make a new branch. Your username would make a good branch because it's unique.
  git checkout -b <name-of-new-branch>
  • Open the README.md file

  • Add your name to the section (Hactoberfest community) that is headed with your first initial. Then, add your name in alphabetical order of the second letter in your name. If the second letters are the same, order it in alphabetical order of the third, and so on. Next to it, add the link to your github username page. Then save your changes.

  • For example , - [Full Name](https://github.com/your-username)

  • Stage your changes.

  git add README.md

or

  git add .
  • Commit the changes.
  git commit -m "Add <your-github-username>"
  • 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

In case you get an error message like the one below, its likely you forgot to fork the repo before cloning it. To fix this, its best to start over with the How to Contribute section above, and fork the project repo first.

ERROR: Permission to EddieHubCommunity/hacktoberfest-practice.git denied to <your-github-username>.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
  • On the GitHub website, navigate to your forked repo - on the top of the files section you'll notice a new section containing a Compare & Pull Request button!

  • Click on that button and this will load a new page, comparing the local branch in your forked repo, against the main branch in the EddieHub Hacktoberfest repo. Accept the default values in the drop down boxes and click the green Create Pull Request button. After creating the PR (Pull Request) our GitHub Actions workflow will add a welcome message to your PR. Note: A pull request allows your changes to be merged with the original project repo.

  • Wait for your changes to be merged.

Hurray! You successfully made a contribution! 🎉


What if I have a Conflict?

A GitHub conflict is when people make changes to the same area or line in a file. This must be fixed before it is merged in order to prevent collision in the main branch.


Hacktoberfest community

Contents

A G M S Y
B H N T Z
C I O U
D J P V
E K Q W
F L R X

About

Repo for you to raise a Pull Request for practice

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published