Coder Social home page Coder Social logo

github-demo's Introduction

A Guide to Get Started (used to be the 4 step guide)

  1. Check out Andrei's videos on github if you haven't watched it already.

  2. On the GitHub page for this repository, click on the button "Fork."

    fork image

  3. Clone your forked repository to your computer:

    code ui

    For example, run this command inside your terminal:

    git clone https://github.com/<your-github-username>/Github-Demo.git

    Replace <your-github-username>!

    Learn more about forking and cloning a repo.

  4. Move to project directory:

    cd Github-Demo.git
  5. Before you make any changes, keep your fork in sync to avoid merge conflicts:

    git remote add upstream https://github.com/lucifer510/Github-Demo.git
    git pull upstream master

    If you run into a merge conflict, you have to resolve the conflict. There are a lot of guides online, or you can watch this tutorial.

  6. After adding the upstream and checking that all files are up to date, we now will create new branch before editing any files. There are two ways to do so:

    git checkout -b <branch-name>
    git branch <branch-name>
    git switch <branch-name>
  7. On your computer, open your text editor, and add your name to the CONTRIBUTORS.md file.

  • ⚠️ IMPORTANT NOTE #1: Add your name somewhere in the middle. Not at the top or bottom in order to avoid the chance of you getting a merge conflict!
  • ⚠️ IMPORTANT NOTE #2: Please do NOT edit or remove other people from the list, even to fix their indentation etc. This will likely prevent your PR from being merged.
  1. Add the changes with git add, git commit (write a good commit message, if possible):

    git add CONTRIBUTORS.md
    git commit -m "Add <your-github-username>"

    Replace <your-github-username>!

  2. Push your changes to your repository:

    git push origin <branch-name>
  3. Go to the GitHub page of your fork, and make a pull request:

    pull request image

    Read more about pull requests on the GitHub help pages.

Finally, open-source projects use the following tools to organize discussion. Reading through the archives will give you a good picture of how the community thinks and works.

Issue tracker: Where people discuss issues related to the project.

Pull requests: Where people discuss and review changes that are in progress.

github-demo's People

Contributors

lucifer510 avatar

Watchers

 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.