Giter Site home page Giter Site logo

jonasermert / collaboration-for-beginners Goto Github PK

View Code? Open in Web Editor NEW

This project forked from udit-001/collaboration-for-beginners

1.0 0.0 0.0 465 KB

A Beginner's Guide to Contributing in an Open Source Project.

Home Page: https://udit-001.github.io/Collaboration-For-Beginners/

License: MIT License

collaboration-for-beginners's Introduction

Collaboration Guide for Beginners

contributions welcome first-timers-only HitCount Donate

Learning to collaborate can be difficult for the first time contributors, and it may seem tedious to find open source projects to contribute to without adequate knowledge of programming. But fear not, this project is made especially to ease the process of contributing to an open source project for a newcomer.

Check out other awesome contributors of this project here.

Contribution Guide

Here are the steps to contribute to this project:

  1. Star this repository
  2. Fork this repository.

Fork & Star the Repository

  1. Clone the fork you just created on your computer.

Clone this repository

Type the following command on Git bash console:

git clone https://github.com/udit-001/Collaboration-For-Beginners.git

Replace the above git repo link with that of the fork you just created.

  1. Now before making changes to the files, let's take a different route than the usual tutorials you see on the internet, and let's try to do this in an efficient manner.

For that, first go to your terminal under the repo you just cloned, and type the following:

git checkout -b add-my-name

By running the above command, you just created a new branch called add-my-name and checked it out, what this does is that it creates a new branch with the commit history of the master branch or the branch that you were on previously.

  1. Now open Contributors.md and enter the details in the following format.
#### Name: [YOUR NAME](GitHub Link)
- Place: City, Country
- Bio: Who are you?
- GitHub: [Your Name](GitHub Link)
  1. Enter the following commands into your terminal:
git add Contributors.md
git commit -m "Added myself to Contributors.md"
git push origin add-my-name

This will create a new commit with the changes you made in the Contributors.md file. Then we pushed these updates on the add-my-name branch of your fork.

  1. Now create a pull request and add the title as "Added myself to Contributors.md"

Create a Pull Request

  1. Sit back and relax while your pull request is being reviewed and merged.

Cleanup Process

After your pull request has been merged in the project, you can safely delete the branch called add-my-name you created above.

You can do this by using the GitHub UI itself, just go the pull request you created and you will see something like this:

Delete Branch

Just click on delete branch, and you're done.

Syncing a Fork

Now if you were to contribute to a project only once, the above instructions would work just fine. But if you were to contribute to a project on a regular basis, you would run across a very common issue, that is how to update your fork with the changes made in the original project. So let's begin with the process:

  1. First you will need to add a remote for the original project to the local repository of your fork present on your system. To do this, enter the following into your terminal:
git remote add upstream https://github.com/udit-001/Collaboration-For-Beginners.git

This just added a remote by the name upstream to the original project.

  1. If you've made any changes on your local repository, you will either need to commit them first or you can stash them. Then enter the following into your terminal:
git pull upstream master 

That's it, now your repository is up to date with the changes in the original project.

  1. Let's update our fork on GitHub now, type the following into your terminal:
git push origin master

And now, your fork is also up-to-date.

Reference Links

Further Instructions to Proceed from here

How To Choose a License

GitHub License Explained : https://choosealicense.com

collaboration-for-beginners's People

Contributors

udit-001 avatar yugansht79 avatar gionuno avatar msastre73 avatar mattertater avatar csinko avatar fernandocabreracarbonell avatar kbender424 avatar lennevia avatar kallepallimounikasmitha avatar gitan7 avatar vanyagrover avatar vpatiltech avatar wanadri avatar superyassh avatar drxdesign avatar dwivediagam avatar abdulmalikdev avatar anshul031999 avatar arca-ko avatar asotronot avatar avinash2201 avatar balagostr avatar willpost11 avatar tanseersaji avatar iamsurajsharma avatar davidsjk avatar subrata3112 avatar subhamx avatar staskorotchenko avatar

Stargazers

Jonas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.