Git Product home page Git Product logo

sayhi's Introduction

sayhi

Playing with GitHub Pull Requests (PR)

Playing with forks and pull requests. Fork this repo, clone, say hi in a new file, push and submit pull request from your GitHub accout.

step-by-step

  1. Check that you are logged in in GitHub
  2. Click the upper rigth Fork button. Af you do it you will be taken to your own account, to your forked repositry. Under the repository name (<YOUR_USERNAME>/sayhy), you will see the text: "Forked from iamc/sayhi".
  3. Go to your computer and clone YOUR fork (<YOUR_USERNAME>/sayhi) (green button, code clone, select https and copy-paste to your terminal)
  4. Create a new file <YOUR_USERNAME.txt> and put some text sayinghi, and git add, commit the file in your local repository.
  5. Push your local repo to GitHub remote repo with git push origin master
  6. Now in GitHub web interface you will see something like "This branch is XX commit ahead of iamc:master.", and in the same "bar" the text Pull request. Click there, go through the webpage that appears (the "send" Pull Request page, it has a lot of info you can mostly ignore about branches, etc), and click the green button Create a pull request.
  7. Now I (iamc) will get a message about your PR submissionn. As your username is unique in GitHub, and you so named the new file, there will be n o conflict with my repositry; I'll review your PR and accept it. This will be reflected in your forked repo and this will habe been your first pull request ever and your first step into the open source contribution Hall of Fame.

Enjoy!

sayhi's People

Contributors

iamc 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.