How To Save Your Project To Github

I am using Netbeans 7.4 as my IDE. This version already has Git plugin. So what you need to do for preparation is github account. You can create your own account if you do not already have on github site.

Now we ready for the next step 🙂

  1. Create new repository https://github.com/new. You can make it public or private repository.
    gh1
    gh2
  2. Go to your project. Right click on the project name >> versioning >> Initialize git repository. Choose location for your local repository.
    gh3
    gh4
    gh6
  3. Commit your project to your local repository by right click on the project name >> git >> commit.
    gh7
    gh8
  4. Push your project to github by right click on the project name >> git >> remote >> push.
    gh9
    gh10
    gh11
    gh12
  5. Check on your github repository.
    gh13

If you make any changes to your file, will be better to save it both to your local and github repository. The step are:

  1. Right click on the project name >> git >> commit.
    gh15
  2. Right click on the project name >> git >> remote >> push to upstream.
    Capture
  3. Check on your github repository.
    gh17

Hope this simple article can help you.. 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s