👋🏻 If you're new to Git and GitHub or are looking to get started with open source development, this repository is for you! I want to help you learn about these technologies and participate in Hacktoberfest, so I've collected some resources to get you started.
By chance if you haven't registered for HacktoberFest, register here Hacktober Fest 2022.
⭐ Star this repository to not lose it!
- Git & GitHub by Kunal Kushwaha
- Learning Markdown in 15 minutes from Eddie Jaoude
- Git Cheat Sheet from Github
- ProGit- A book written by Scott Chacon and Ben Straub.
Take your time and go through some of these articles to get an idea of what is open source.
-
DigitalOcean : What is Open Source?
-
DigitalOcean : Introduction to Github and Open-Source Projects
-
GitHub : How to contribute to open source ?
-
DigitalOcean : How to use git(VCS)?
To get started with contributing, check them out!
1. HacktoberFest2022 |
2. Canvas Game |
3. Basic Website with HTML and CSS only |
4. Web Location |
For contributing in this repository, check the folder
contributors-list
.
-
Fork this repository.
-
Clone on the repository to your local machine
git clone <git repo>
-
Navigate to cloned repository.
cd filename
-
Create a new branch to work on with
git checkout -b my-new-branch
Time to make some changes to the cloned repository on your local machine.
-
Add your work with
git add .
-
Save your work, by commiting it.
git commit -m "first commit"
-
Let's try pushing it on remote repository, in our case github!
git push origin my-new-branch
-
Ready to share your work with others? So let's generate a Pull Request! To do this, go to your forked github repository and
Create a Pull Request
.
An easy way to avoid conflicts is to add an upstream
for your git repo, as other PR's may be merged while you're working on your branch/fork.
git remote add upstream <git repo>
Verify that the new remote was been added by
git remote -v
To pull new changes from the parent repository, just do
git merge upstream/master
How to Contribute?
Try updating an existing feature or add a new feature !!Still no idea? Check out the issues in a github repository to see some work you can do.
How to contribute to this repository?
If you are getting started with contributing, you just need to add some details incontributors-list
and add file like harshit-paneri.md
(user-name) in the same format as the others.