Friday, November 23, 2012

git - tips

  • git remote –v                    
o   Shows remote branches

  • git remote add <remote branch name> <remote branch url>
o   Add a new remote branch

  • git push <remote branch name> <local branch name>
o   push changes from local branch to remote branch

Ref:

Thursday, November 22, 2012

Maven - include a lib manually in local repo

Use following command to include a lib manually in local maven repository:

 

mvn install:install-file -Dfile=./EWSJavaAPIWithJars_1.2.0.jar -DgroupId=local.disk -DartifactId=EWSJavaAPI -Dversion=1.2 -Dpackaging=jar