Tech-Today
How to initialize a git repository and linked it to a remote repository provider
For example we've just created a new project and want to push it to a remote repository. Here's what we need to do.
- Find out what is the repository url, you can see it at github. For example: https://github.com/czetsuya/JAX-RS-REST-Security.git
- Open command prompt
- Change directory to where your project is.
- In the command promp execute:
- >git init
- >git add .
- >git commit -m "Initial commit"
- >git remote add origin https://github.com/czetsuya/JAX-RS-REST-Security.git
- >git push -u origin master
What if we already initialized our repository? Then we can already skip steps 4.1-4.3 and just execute:
- >git remote add origin https://github.com/czetsuya/JAX-RS-REST-Security.git
- >git push -u origin master
-
Committing The Source Code On Github
Slack Discussion Repositories https://github.com/terawarehouse/terawarehouse-cataloghttps://github.com/terawarehouse/terawarehouse-reactTo commit our project in Github, make sure you already created a new Github repository and then: Get the repository...
-
How To Integrate Querydsl In Your Javaee7 Project
This guide requires knowledge on: mavengiteclipsequerydslwild flyWe will show you how to modify the javaee7-archetype project to integrate querydsl. For those who do not know, it is a library to unify queries in java. What I like more about it is that...
-
Repository Management
GITHow to invoke a Jenkins build from Assembla on GIT pushHow to initialize a git repository and linked it to a remote repository providerSVNHow to setup your google code repository to be accessible in mavenMAVENHow to push external jar into artifactory...
-
How To Sync Github And Openshift Git Repository
OpenShift is such a wonderful playground for those who want to try and experience real javaee6/jboss cloud hosting. But often some of us wanted to host the code in another git repository like github or bitbucket or somewhere else. This article will try...
-
How To Clone A Project From Github And Import In Eclipse
This page will teach us how to clone a project from GitHub to your local repository and import in eclipse. Prerequisites: 1.) Windows/Ubuntu with JDK6/7. 2.) eclipse (I'm using Juno) with egit, m2eclipse, m2e-egit plugin (from eclipse marketplace)....
Tech-Today