Coder Social home page Coder Social logo

fcculsan_ontheweb's Introduction

fcculsan_ontheweb

This is a website for our FCC ulsan to to practice their burgeoning coding skills.

https://fcculsan.github.io/fcculsan_ontheweb/

GO CRAZY!!!

Contributing to this repository:

This may seem a bit confusing at first. Try it out, and if it doesn't work, ask for help in the group.

GitHub Website method:

The easiest way is to just use the GitHub website.

  1. Edit any file in this repository on the GitHub website.
  2. Tell us about your change and submit it.
    • Describe your changes in detail in the text input boxes at the bottom of the page.
    • Click the green "Propose file change" button at the bottom of the page.
  3. Click the green "Create Pull Request" button

Command Line method:

The instructions stem mostly from these tutorials and what worked for us at the meetup:

https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/ https://gist.github.com/MarcDiethelm/7303312

  1. Fork the FCC Ulsan main repository by clicking the "Fork" button in the top left of the page.

  2. Clone the repository to your local machine

  3. Configure the origin and upstream correctly.

    • origin's URL should point to your fork, so the URL should have your GitHub account in it.

    • upstream's URL should point to the original repository, so the URL should be https://github.com/fcculsan/fcculsan_ontheweb.git.

    • use git remote to see if origin and upstream exist.

      • use git remote get-url origin and git remote get-url upstream to see what the URLs are.
    • If origin or upstream have the wrong URLs, you can rename them with git remote rename (oldname) (newname) or delete them with git remote remove (origin/upstream) and create them with the correct URL using git remote add (origin/upstream) (URL).

  4. Push your local commit to your remote fork.

    • git push origin master
  5. Go to your forked repository on the GitHub website.

  6. Click the "Pull Request" button to the right of where you see "This branch is 1 commit ahead of fcculsan:master."

  7. Click the green "Create Pull Request" button.

  8. Describe your changes, and submit it.

  9. You're done!

Updating your forked repository

Sometimes others will make changes to the upstream repository. They won't show up in your forked repository. You need to manually sync these changes. You can delete your forked repository directly on the GitHub website, then fork the upstream repository again. This will give you a fresh copy of the upstream repository that's up to date. Of course, you will lose any commits in your forked repository that weren't pulled into the upstream.

The best way I know how to do this is via the command line.

  1. Ensure all the previous command line steps have been done correctly.
    • Your local repository has 2 remote branches: origin and upstream.
      • origin has a url including your username
      • upstream has the url https://github.com/fcculsan/fcculsan_ontheweb.git
  2. Fetch the upstream changes
    • git fetch upstream
  3. Make sure you're on the master branch
    • git checkout master
  4. Combine the upstream changes with the code you have locally on master
    • git rebase upstream/master
  5. Push your updated local repository to your forked version.
    • git push origin master
  6. DONE! You can continue writing code, committing, pushing, and doing pull requests as usual.

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.