Code Monkey home page Code Monkey logo

oniz's Introduction

ONIZ - Oh No Its Zombies - LibGDX Multiplayer Game

Android Studio Tips

  • CMD+P or CTRL+P on a method to view "parameter info" or "method arguments". Whatever you prefer to call it.

GIT WORK FLOW

Setup

  • On Github, fork the orignal repository to create your own copy.
  • Go to your forked repository page and clone it to your local environment (e.g. Desktop).
$ git clone https://github.com/esmondchuah/ONIZ.git
  • Go into your local clone of your forked repository.
$ cd ONIZ
  • Run the command below and you should see that you have exactly one remote called origin. ("Remotes" are like nicknames for the URLs of repositories - origin is one, for example.)
$ git remote
  • Add the original Github repository as a new remote and call it upstream. (Then try "git remote" again, you should now see two remotes listed.)
$ git remote add upstream https://github.com/robin-lee/ONIZ.git

Commit and update your own Github Repo

  • Add your updated files to the staging area.
$ git add GameScreen.java
  • Alternatively, you could just "add all" if you have multiple updated files.
$ git add -A
  • Commit your updated files.
$ git commit -m "Add your commit message here"
  • Push it to your own forked repository on GitHub.
git push origin master

When there's a new update on the original Github Repo

  • Stage and commit your own updated code first.
$ git add -A
$ git commit -m "Commit your local updates first"
  • Fetch all the branches from that upstream repository into remote-tracking branches.
$ git fetch upstream
  • Make sure that you're on your master branch.
$ git checkout master
  • Rewrite your master branch so that any commits of yours that aren't already in upstream/master are replayed on top of that other branch.
$ git rebase upstream/master
  • Push it to your own forked repository on GitHub.
git push origin master

Submit a pull request

  • (IMPORTANT) Make sure you have the lastest updates from the original Github repository in your forked Github repository (by doing the above).
  • Click on the "Pull request" button (right under the "Download ZIP" button).
  • You should see: "base fork: robin-lee/ONIZ, base: master; head fork: esmondchuah/ONIZ, compare: master".
  • Confirm all the code changes you are making and click on the "Create pull request" button.
  • Insert a title for your pull request, add an optional description and click on the "Create pull request" button again.

oniz's People

Contributors

esmondchuah avatar houdinisparks avatar robin-lee avatar

Watchers

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