Git-Github-Session


Project maintained by FOSS-Tech Hosted on GitHub Pages — Theme by mattgraham

Hacktober Fest 2022 💖💖💖

👋🏻 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!

Learning Resources

RESOURCES FOR BEGINNERS

Getting started with Open-Source

Take your time and go through some of these articles to get an idea of what is open source.

Some beginner friendly Repository

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.

Getting Started ❤️‍🔥🖤

  1. Fork this repository.
  2. Clone on the repository to your local machine

     git clone <git repo>
    
  3. Navigate to cloned repository.
     cd filename
    
  4. 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.

  5. Add your work with
     git add .
    
  6. Save your work, by commiting it.
     git commit -m "first commit"
    
  7. Let’s try pushing it on remote repository, in our case github!
     git push origin my-new-branch
    
  8. 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.


Avoid Conflicts (Syncing the fork)

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

FAQs

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 in contributors-list and add file like harshit-paneri.md (user-name) in the same format as the others.