Giter Site home page Giter Site logo

pacicap / jug_meetup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lehone-hp/java_exe

0.0 0.0 0.0 6 KB

This repository will hold the codes for the members of Buea Java User Group studying Java, especially those using Java How to Program by deitel

Java 100.00%

jug_meetup's Introduction

JUG_Meetup

This repository will hold the code submitted by all those studying Java using Java How to Program by deitel

Getting Started

In order to begin working with this repository, you need to have the following

  • JDK installed and running

  • Git Installed If you are using a linux based operating system(recommended), use

    sudo apt-get install git
    
  • A Github account

  • Java How to Program, 10th Edition.pdf

Working with this repository

Beginning Work

The repository contains folders labeled with the name of each contributor The folders are going to contain the code of the completed tasks for each user at the end of each week Each contributor will create a sub folders labeled week1, week2... and store the conresponding tasks for each week. In order to achieve this:

  • First fork the JUG_Meetup repository from lehone-hp. You may use the tutorial http://help.github.com/fork-a-repo

  • Clone the project repository from your fork so that you can start working on it. Fire up Terminal, move to the directory where you want the projrct to be stored and enter the command:

    git	clone	https://github.com/{yourusername}/JUG_Meetup.git
    
  • Now, go into the folder just created and set up the "upstream" remote so you can eventually pull changes from the main repository.

    git	remote	add	upstream	https://github.com/lehone-hp/JUG_Meetup.git
    

Use git to manage your work

  • In order to contribute, we are each going to be using a separate branch. Everyone is going to have a separate branch which is named after them. So fire up your terminal, go into the root directory of project and enter the command:

    git checkout -b {yourname} master
    

    e.g git checkout -b lehone master

  • Push the branch to your fork

    git	push	-u	origin	{branchname}
    

    Now you may start working on your task in the newly created branch

  • To identify which files you have changed

    git status
    

Stage and Commit your changes

  • As you work on your code, you may want to periodically stage and commit your changes into your branch. To stage all changed and new files into your commit, use the command:

    git	add	-A
    

    Now these files are staged, and ready to be committed.

  • To commit your code into your branch, let's say for week 1, use the command:

    git	commit  -m  "Week 1:	add a short description"
    

Pushing your code and creating a pull request

After multiple iterations of making changes to your code and committing them into your branch, push your code into your fork by running the following commands.

  • Update your branch to the latest code using the following command:

    git	pull	--rebase	upstream	master
    
  • Push your changes into your fork

    git push
    

    Running this command will prompt you to authenticate into GitHub. After doing so, it will upload the changes into your fork. You may now visit your push on GitHub at a URL like

      http://github.com/{yourgithubname}/JUG_Meetup/
    
  • Now create a pull request using the create pull request link on Github so that your code can be merged with the main repository; lehone-hp/JUG_Meetup

jug_meetup's People

Contributors

lehone-hp 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.