Category Archives: Git & Github

Adding a project to GitHub – things to watch out

Not having much experience with Git, I made a watch out list, so I can refer back later without making a same mistake.

1. Do not add README.md when I create a new repository in GitHub. By adding README.md seems giving me a trouble later on.
2. Know the difference between git add -A vs. git add . (dot) vs. git add -u. Here is the difference.

  • git add -A stages All
  • git add . stages new and modified, without deleted
  • git add -u stages modified and deleted, without new

Below is the Git commands for my reference in the future.

msjo@MSJO-PC ~
$ cd gitrepo

msjo@MSJO-PC ~/gitrepo
$ ls
WebSocketJEE7Demo  WebsocketDemo

msjo@MSJO-PC ~/gitrepo
$ cd websocketjee7demo

msjo@MSJO-PC ~/gitrepo/websocketjee7demo
$ ls
WebSocketJEE7Demo

msjo@MSJO-PC ~/gitrepo/websocketjee7demo
$ touch README.md

msjo@MSJO-PC ~/gitrepo/websocketjee7demo
$ git init
Initialized empty Git repository in c:/Users/msjo/gitrepo/websocketjee7demo/.git
/

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ touch README.md

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git add README.md

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git commit -m "first commit"
[master (root-commit) 4e202d8] first commit
 0 files changed
 create mode 100644 README.md

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git add websocketjee7demo

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git status
# On branch master
# Untracked files:
#   (use "git add ..." to include in what will be committed)
#
#       WebSocketJEE7Demo/
nothing added to commit but untracked files present (use "git add" to track)

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git add -A
warning: LF will be replaced by CRLF in WebSocketJEE7Demo/WebContent/WEB-INF/fac
es-config.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebSocketJEE7Demo/WebContent/WEB-INF/gla
ssfish-web.xml.
The file will have its original line endings in your working directory.

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git status
# On branch master
# Changes to be committed:
#   (use "git reset HEAD ..." to unstage)
#
#       new file:   WebSocketJEE7Demo/.classpath
#       new file:   WebSocketJEE7Demo/.project
#       new file:   WebSocketJEE7Demo/.settings/.jsdtscope
#       new file:   WebSocketJEE7Demo/.settings/org.eclipse.jdt.core.prefs
#       new file:   WebSocketJEE7Demo/.settings/org.eclipse.wst.common.component

#       new file:   WebSocketJEE7Demo/.settings/org.eclipse.wst.common.project.f
acet.core.prefs.xml
#       new file:   WebSocketJEE7Demo/.settings/org.eclipse.wst.common.project.f
acet.core.xml
#       new file:   WebSocketJEE7Demo/.settings/org.eclipse.wst.jsdt.ui.superTyp
e.container
#       new file:   WebSocketJEE7Demo/.settings/org.eclipse.wst.jsdt.ui.superTyp
e.name
#       new file:   WebSocketJEE7Demo/WebContent/META-INF/MANIFEST.MF
#       new file:   WebSocketJEE7Demo/WebContent/WEB-INF/faces-config.xml
#       new file:   WebSocketJEE7Demo/WebContent/WEB-INF/glassfish-web.xml
#       new file:   WebSocketJEE7Demo/WebContent/WEB-INF/web.xml
#       new file:   WebSocketJEE7Demo/WebContent/chatWindow.xhtml
#       new file:   WebSocketJEE7Demo/WebContent/js/jquery-2.0.2.min.js
#       new file:   WebSocketJEE7Demo/build/classes/endpoint/MyServerEndpoint.cl
ass
#       new file:   WebSocketJEE7Demo/src/endpoint/MyServerEndpoint.java
#

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git commit -m 'another commit'
[master 385faa3] another commit
warning: LF will be replaced by CRLF in WebSocketJEE7Demo/WebContent/WEB-INF/fac
es-config.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebSocketJEE7Demo/WebContent/WEB-INF/gla
ssfish-web.xml.
The file will have its original line endings in your working directory.
 17 files changed, 320 insertions(+)
 create mode 100644 WebSocketJEE7Demo/.classpath
 create mode 100644 WebSocketJEE7Demo/.project
 create mode 100644 WebSocketJEE7Demo/.settings/.jsdtscope
 create mode 100644 WebSocketJEE7Demo/.settings/org.eclipse.jdt.core.prefs
 create mode 100644 WebSocketJEE7Demo/.settings/org.eclipse.wst.common.component

 create mode 100644 WebSocketJEE7Demo/.settings/org.eclipse.wst.common.project.f
acet.core.prefs.xml
 create mode 100644 WebSocketJEE7Demo/.settings/org.eclipse.wst.common.project.f
acet.core.xml
 create mode 100644 WebSocketJEE7Demo/.settings/org.eclipse.wst.jsdt.ui.superTyp
e.container
 create mode 100644 WebSocketJEE7Demo/.settings/org.eclipse.wst.jsdt.ui.superTyp
e.name
 create mode 100644 WebSocketJEE7Demo/WebContent/META-INF/MANIFEST.MF
 create mode 100644 WebSocketJEE7Demo/WebContent/WEB-INF/faces-config.xml
 create mode 100644 WebSocketJEE7Demo/WebContent/WEB-INF/glassfish-web.xml
 create mode 100644 WebSocketJEE7Demo/WebContent/WEB-INF/web.xml
 create mode 100644 WebSocketJEE7Demo/WebContent/chatWindow.xhtml
 create mode 100644 WebSocketJEE7Demo/WebContent/js/jquery-2.0.2.min.js
 create mode 100644 WebSocketJEE7Demo/build/classes/endpoint/MyServerEndpoint.cl
ass
 create mode 100644 WebSocketJEE7Demo/src/endpoint/MyServerEndpoint.java

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git remote add origin https://github.com/mjtoolbox/WebSocketJEE7.git

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$ git push origin master
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

Username for 'https://github.com':
Password for 'https://mjtoolbox@github.com':
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

To https://github.com/mjtoolbox/WebSocketJEE7.git
 * [new branch]      master -> master

msjo@MSJO-PC ~/gitrepo/websocketjee7demo (master)
$

Conclusion

I can try to use UI tool to make it easier, but I feel that using Git command will enhance my experience in a long run.

Advertisements

Git tutorial from Code School

Code School offers free Git tutorial – 15 minutes. Tutorial covers adding source code to the repository and push the master to origin (remote). Also, it covers how to create a branch and merge back to the trunk. In a short time, learned important commands. Very useful!

Here are commands that I learned from this tutorial.

Summary

Several important concepts.

  • master :   local repository
  • origin : remote repository
  • push -u origin master : push master code to origin and -u remember origin and master, so later I can skip origin master. Just push
  • checkout — file_name : Revert back the source code to when file_name file was committed.
  • branch branch_name : Create a branch with branch_name
  • checkout branch_name : Check out branch_name branch
  • branch -d branch_name : Delete a branch branch_name

 

Adding project to Github

After two months, I decided to upload WebsocketDemo project to Github. Since then, I replaced my laptop and all the settings are gone. Also, I haven’t used Github for two months. Instead of using GUI, I used Git bash to upload my project.

Well, I made the same mistake again…. naming remote and origin differently, so I ended up deleting in both places. To do it properly, I should follow below steps:

1. Create Repository in Github. Skip readme.

2. Open Gitbash and navigate to c:/Users/msjo/GitRepo

3. Make repository directory same as the one in the Github.

4. Update README

5. Add origin to git remote

6. Push origin to remote master

msjo@MSJO-PC ~
$ cd gitrepo

msjo@MSJO-PC ~/gitrepo
$ ls

msjo@MSJO-PC ~/gitrepo
$ mkdir WebsocketDemo

msjo@MSJO-PC ~/gitrepo
$ cd WebsocketDemo

msjo@MSJO-PC ~/gitrepo/WebsocketDemo
$ git init
Initialized empty Git repository in c:/Users/msjo/gitrepo/WebsocketDemo/.git/

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ touch README

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git add README

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git commit -m 'first commit'
[master (root-commit) 824a40b] first commit
 0 files changed
 create mode 100644 README

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git remote add origin https://github.com/mjtoolbox/WebsocketDemo.git

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git push -u origin master
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

Username for 'https://github.com':
Password for 'https://mjtoolbox@github.com':
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

fatal: Authentication failed

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git push -u origin master
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

Username for 'https://github.com':
Password for 'https://mjtoolbox@github.com':
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

To https://github.com/mjtoolbox/WebsocketDemo.git
 * [new branch]      master -> master
Branch master set up to track remote branch master from origin.

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ ls
README  WebContent  build  src

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git add .
warning: LF will be replaced by CRLF in WebContent/WEB-INF/faces-config.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/WEB-INF/sun-web.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/css/oneColFixCtr.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/js/jquery-1.7.2.min.js.
The file will have its original line endings in your working directory.

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git status -s
A  .classpath
A  .metadata/WebContent/WEB-INF/faces-config.pageflow
A  .project
A  .settings/.jsdtscope
A  .settings/oracle.eclipse.tools.webtier.ui.prefs
A  .settings/org.eclipse.jdt.core.prefs
A  .settings/org.eclipse.wst.common.component
A  .settings/org.eclipse.wst.common.project.facet.core.prefs.xml
A  .settings/org.eclipse.wst.common.project.facet.core.xml
A  .settings/org.eclipse.wst.jsdt.ui.superType.container
A  .settings/org.eclipse.wst.jsdt.ui.superType.name
A  WebContent/ChatWindow.xhtml
A  WebContent/META-INF/MANIFEST.MF
A  WebContent/WEB-INF/faces-config.xml
A  WebContent/WEB-INF/sun-web.xml
A  WebContent/WEB-INF/web.xml
A  WebContent/client.html
A  WebContent/css/oneColFixCtr.css
A  WebContent/index.xhtml
A  WebContent/js/jquery-1.7.2.min.js
A  build/classes/resources/application.properties
A  build/classes/serverApp/MyWebSocketApplication.class
A  build/classes/servlet/WebSocketServlet.class
A  build/classes/socket/ClientSocket.class
A  src/resources/application.properties
A  src/serverApp/MyWebSocketApplication.java
A  src/servlet/WebSocketServlet.java
A  src/socket/ClientSocket.java

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git remote add origin https://github.com/mjtoolbox/WebsocketDemo.git
fatal: remote origin already exists.

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ ls
README  WebContent  build  src

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git commit -m 'initially added'
[master 73776b7] initially added
warning: LF will be replaced by CRLF in WebContent/WEB-INF/faces-config.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/WEB-INF/sun-web.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/css/oneColFixCtr.css.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in WebContent/js/jquery-1.7.2.min.js.
The file will have its original line endings in your working directory.
 28 files changed, 598 insertions(+)
 create mode 100644 .classpath
 create mode 100644 .metadata/WebContent/WEB-INF/faces-config.pageflow
 create mode 100644 .project
 create mode 100644 .settings/.jsdtscope
 create mode 100644 .settings/oracle.eclipse.tools.webtier.ui.prefs
 create mode 100644 .settings/org.eclipse.jdt.core.prefs
 create mode 100644 .settings/org.eclipse.wst.common.component
 create mode 100644 .settings/org.eclipse.wst.common.project.facet.core.prefs.xm
l
 create mode 100644 .settings/org.eclipse.wst.common.project.facet.core.xml
 create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container
 create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name
 create mode 100644 WebContent/ChatWindow.xhtml
 create mode 100644 WebContent/META-INF/MANIFEST.MF
 create mode 100644 WebContent/WEB-INF/faces-config.xml
 create mode 100644 WebContent/WEB-INF/sun-web.xml
 create mode 100644 WebContent/WEB-INF/web.xml
 create mode 100644 WebContent/client.html
 create mode 100644 WebContent/css/oneColFixCtr.css
 create mode 100644 WebContent/index.xhtml
 create mode 100644 WebContent/js/jquery-1.7.2.min.js
 create mode 100644 build/classes/resources/application.properties
 create mode 100644 build/classes/serverApp/MyWebSocketApplication.class
 create mode 100644 build/classes/servlet/WebSocketServlet.class
 create mode 100644 build/classes/socket/ClientSocket.class
 create mode 100644 src/resources/application.properties
 create mode 100644 src/serverApp/MyWebSocketApplication.java
 create mode 100644 src/servlet/WebSocketServlet.java
 create mode 100644 src/socket/ClientSocket.java

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
nothing to commit (working directory clean)

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$ git push -u origin master
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

Username for 'https://github.com':
Password for 'https://mjtoolbox@github.com':
usage: git credential-cache [options]

    --exit                tell a running daemon to exit
    --reject              reject a cached credential
    --timeout          number of seconds to cache credentials
    --socket        path of cache-daemon socket
    --chain       use  to get non-cached credentials
    --username      an existing username
    --description   human-readable description of the credential
    --unique       a unique context for the credential

To https://github.com/mjtoolbox/WebsocketDemo.git
   824a40b..73776b7  master -> master
Branch master set up to track remote branch master from origin.

msjo@MSJO-PC ~/gitrepo/WebsocketDemo (master)
$

Using Github

I have been thinking about sharing XProject code to other team members. Currently, all individual projects are located locally on developers machine. I thought we could use GitHub to merge these projects later on.

There is a GitHub help online. It is very helpful to understand how GitHub works. So far, I grasp the basic concept of how GitHub works. When I tried first time, I made a mistake by naming Remote Repo different from my local Repo. I tried to rename Remote Repo to match my local, but Git Bash didn’t recognize the Remote Repo.

Below is the key command that displays after creating a Remote Repo.

Global setup:
Set up git
git config --global user.name "Michael Jo"
git config --global user.email michael.jo@gmail.com

Next steps:
mkdir Hello-World
cd Hello-World
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:demj33/Hello-World.git
git push -u origin master

Existing Git Repo?
cd existing_git_repo
git remote add origin git@github.com:demj33/Hello-World.git
git push -u origin master

Git Bash Command to Add, Commit, and Push source code to Remote Repo from Git Bash

(Source code was from IBM Richfaces Tutorial)

msjo@HY139275 ~/GitRepo
$ cd Hello-World

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ ls
README

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ git add .
warning: LF will be replaced by CRLF in JbossRich/JavaSource/City.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/JavaSource/dwRF4D1Handler.java
.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/WebContent/WEB-INF/faces-confi
g.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/WebContent/index.xhtml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/WebContent/result.xhtml.
The file will have its original line endings in your working directory.

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ git status -s
A JbossRich/.classpath
A JbossRich/.project
A JbossRich/.settings/.jsdtscope
A JbossRich/.settings/oracle.eclipse.tools.webtier.ui.prefs
A JbossRich/.settings/org.eclipse.jdt.core.prefs
A JbossRich/.settings/org.eclipse.wst.common.component
A JbossRich/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
A JbossRich/.settings/org.eclipse.wst.common.project.facet.core.xml
A JbossRich/.settings/org.eclipse.wst.jsdt.ui.superType.container
A JbossRich/.settings/org.eclipse.wst.jsdt.ui.superType.name
A JbossRich/JavaSource/City.java
A JbossRich/JavaSource/dwRF4D1Handler.java
A JbossRich/JavaSource/dwRF4Demo1.properties
A JbossRich/JavaSource/resources/application.properties
A JbossRich/WebContent/META-INF/MANIFEST.MF
A JbossRich/WebContent/WEB-INF/classes/City.class
A JbossRich/WebContent/WEB-INF/classes/dwRF4D1Handler.class
A JbossRich/WebContent/WEB-INF/classes/dwRF4Demo1.properties
A JbossRich/WebContent/WEB-INF/classes/resources/application.properties
A JbossRich/WebContent/WEB-INF/faces-config.xml
A JbossRich/WebContent/WEB-INF/lib/cssparser-0.9.5.jar
A JbossRich/WebContent/WEB-INF/lib/guava-11.0.2.jar
A JbossRich/WebContent/WEB-INF/lib/richfaces-components-api-4.2.0.Final.jar
A JbossRich/WebContent/WEB-INF/lib/richfaces-components-ui-4.2.0.Final.jar
A JbossRich/WebContent/WEB-INF/lib/richfaces-core-api-4.2.0.Final.jar
A JbossRich/WebContent/WEB-INF/lib/richfaces-core-impl-4.2.0.Final.jar
A JbossRich/WebContent/WEB-INF/lib/sac-1.3.jar
A JbossRich/WebContent/WEB-INF/web.xml
A JbossRich/WebContent/css/default.css
A JbossRich/WebContent/images/DukeGuitar.jpg
A JbossRich/WebContent/images/myphoto.jpg
A JbossRich/WebContent/images/roseTab.jpg
A JbossRich/WebContent/index.xhtml
A JbossRich/WebContent/result.xhtml
A JbossRich/ant/build.properties

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ git config --global user.name "Michael Jo"

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ git config --global user.email michael.jo@gmail.com

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ git commit -m "initially added"
[master 3eae909] initially added
warning: LF will be replaced by CRLF in JbossRich/JavaSource/City.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/JavaSource/dwRF4D1Handler.java
.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/WebContent/WEB-INF/faces-confi
g.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/WebContent/index.xhtml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in JbossRich/WebContent/result.xhtml.
The file will have its original line endings in your working directory.
35 files changed, 647 insertions(+)
create mode 100644 JbossRich/.classpath
create mode 100644 JbossRich/.project
create mode 100644 JbossRich/.settings/.jsdtscope
create mode 100644 JbossRich/.settings/oracle.eclipse.tools.webtier.ui.prefs
create mode 100644 JbossRich/.settings/org.eclipse.jdt.core.prefs
create mode 100644 JbossRich/.settings/org.eclipse.wst.common.component
create mode 100644 JbossRich/.settings/org.eclipse.wst.common.project.facet.cor
e.prefs.xml
create mode 100644 JbossRich/.settings/org.eclipse.wst.common.project.facet.cor
e.xml
create mode 100644 JbossRich/.settings/org.eclipse.wst.jsdt.ui.superType.contai
ner
create mode 100644 JbossRich/.settings/org.eclipse.wst.jsdt.ui.superType.name
create mode 100644 JbossRich/JavaSource/City.java
create mode 100644 JbossRich/JavaSource/dwRF4D1Handler.java
create mode 100644 JbossRich/JavaSource/dwRF4Demo1.properties
create mode 100644 JbossRich/JavaSource/resources/application.properties
create mode 100644 JbossRich/WebContent/META-INF/MANIFEST.MF
create mode 100644 JbossRich/WebContent/WEB-INF/classes/City.class
create mode 100644 JbossRich/WebContent/WEB-INF/classes/dwRF4D1Handler.class
create mode 100644 JbossRich/WebContent/WEB-INF/classes/dwRF4Demo1.properties
create mode 100644 JbossRich/WebContent/WEB-INF/classes/resources/application.p
roperties
create mode 100644 JbossRich/WebContent/WEB-INF/faces-config.xml
create mode 100644 JbossRich/WebContent/WEB-INF/lib/cssparser-0.9.5.jar
create mode 100644 JbossRich/WebContent/WEB-INF/lib/guava-11.0.2.jar
create mode 100644 JbossRich/WebContent/WEB-INF/lib/richfaces-components-api-4.
2.0.Final.jar
create mode 100644 JbossRich/WebContent/WEB-INF/lib/richfaces-components-ui-4.2
.0.Final.jar
create mode 100644 JbossRich/WebContent/WEB-INF/lib/richfaces-core-api-4.2.0.Fi
nal.jar
create mode 100644 JbossRich/WebContent/WEB-INF/lib/richfaces-core-impl-4.2.0.F
inal.jar
create mode 100644 JbossRich/WebContent/WEB-INF/lib/sac-1.3.jar
create mode 100644 JbossRich/WebContent/WEB-INF/web.xml
create mode 100644 JbossRich/WebContent/css/default.css
create mode 100644 JbossRich/WebContent/images/DukeGuitar.jpg
create mode 100644 JbossRich/WebContent/images/myphoto.jpg
create mode 100644 JbossRich/WebContent/images/roseTab.jpg
create mode 100644 JbossRich/WebContent/index.xhtml
create mode 100644 JbossRich/WebContent/result.xhtml
create mode 100644 JbossRich/ant/build.properties

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
nothing to commit (working directory clean)

msjo@HY139275 ~/GitRepo/Hello-World (master)
$ git push -u origin master
Enter passphrase for key '/c/Users/msjo/.ssh/id_rsa':
Counting objects: 48, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (41/41), done.
Writing objects: 100% (47/47), 6.87 MiB | 11 KiB/s, done.
Total 47 (delta 2), reused 0 (delta 0)
To git@github.com:demj33/Hello-World.git
020f976..3eae909 master -> master
Branch master set up to track remote branch master from origin.

msjo@HY139275 ~/GitRepo/Hello-World (master)
$

Remote Repo : https://github.com/mjtoolbox/Hello-World

Resources