Giter VIP home page Giter VIP logo

first-contributions-1's Introduction

First Contributions

RStudio RStudio Edition

View this README in another language:

Deutsch | italiano | español

This repo is a chopped-up, trimmed-down, and customised-for-RStudio version of the amazing first contributions repo (and is not officially affiliated with RStudio). Check out the original repo for instructions using other tools.


Introduction

It's hard. It's always hard, when you do something for the first time. Especially when you are collaborating, making mistakes isn't a comfortable thing. But open source is all about collaboration & working together. We wanted to simplify the way new open-source contributors learn & contribute for the first time.

Reading articles & watching tutorials can help, but what comes better than actually doing the stuff without messing up anything. This project aims at providing guidance & simplifying the way rookies make their first contribution. Remember the more relaxed you are the better you learn. If you are looking for making your first contribution just follow the simple steps below. We promise you, it will be fun.


What this will teach you

  • How to fork a repo
  • How to make a branch
  • How to submit a pull request to the original repo

What this won't teach you

  • How to build R packages
  • Open source etiquette

Assumptions

I have made a number of assumptions in writing this guide:

OK, let's get started!


Fork this repository

Fork this repo by clicking on the fork button on the top of this page.


fork this repository


This will create of copy of this repository in your account and you will be redirected to this version of the repo.

You now need to get the URL for your repo. Click "Clone or download" and copy the URL in the box.

clone the repo



Create a new project

In RStudio, go to File -> New Project

Select "Version Control" and then "Git".

In the New Project dialog, paste the URL you copied from GitHub into the "Repository URL" box.

Choose the name you want the directory on your computer to be called, and put it in the "Project directory name" box. By default, this is the name of the repo.

Finally, choose where you want the cloned repo to be stored by clicking the "Browse" button.

Once you have finished, click "Create Project" to clone the repo and set up the project.

Git


The repo will now be cloned into whichever folder you specified.


Create a branch

In the "Git" tab in the top-right panel, click the "new branch" button.

Git tab


Create a new branch


Name your branch "add-your-name", for example: "add-nic-crane"

name your branch


Make sure that "Sync branch with remote" is checked and click "Create". You may be asked to enter your GitHub username and password.


Make necessary changes and commit those changes

Now open the Contributors.md file in RStudio and add your name to it, then save the file.

You will see that the file has an 'M' next to it. Check the box next to it and then click "Commit".

commit button


You'll see a diff file showing the changes you've made to the file. Add a commit message - a summary of changes you've made, and then click "Commit". A box will pop up to confirm the commit; click "close".

commit dialog



Push changes to GitHub

Congratulations, you've committed all the changes to your local copy of your branch of your fork of first-contributions. Now click "Push" to sync your commit to the remote repo.

push button


You'll see a box like this if your changes have been pushed successfully. Click "Close".

git output log



Submit your changes for review

If you go to your repository on github, you'll see a "Compare & pull request" button. Click on that button.

create a pull request


Make sure that you are comparing across forks. On the left should be the master branch of the original repo, and on the right should be the new branch you've made in your repo. Once you've got the correct options selected and have written a quick summary of the changes made, submit the pull request by clicking "Create pull request".

submit pull request


Soon I'll be merging all your changes into the master branch of this project. You will get a notification email once the changes have been merged!

Congrats! You have just completed the standard fork -> clone -> edit -> PR workflow that you'll encounter often as a contributor!

first-contributions-1's People

Contributors

thisisnic avatar hturner avatar pythoncoderunicorn avatar saranjeetkaur avatar jyoti-bhogal avatar 3mmarand avatar aariq avatar aditya-njr avatar aleeseydoux avatar cathblatter avatar bambusekd avatar evelyngreeves avatar jasbirrajrana avatar michaelchirico avatar mohdmuzakkir avatar nandakn1 avatar seancassiere avatar shannonpileggi avatar sonoshah avatar sbreitbart avatar yashagrawal0 avatar datababak avatar deepanshu1334 avatar diontseb avatar gbganalyst avatar jessecwarren avatar kabsgithub avatar sachintsm avatar sbalci avatar stevescode 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.