Friday, February 27, 2015

GIT Commands

Mkdir testdir
Cd testdir
Git clone wsdp@  for checkout
Git log
Git status
Vi testfile.xml
Git add testfile.xml
Git status
Git config --global user.email "dbialke@worldsync.com"
Git config --global user.name "Daniel Bialke"

Git commit
Enter the comment
Git status
Git reset HEAD^
Git status
Rm testfile.xml
Git pull
Git clone git@code:playground.git
Cd playground
Git log
Git add ABC
Git status
Git add abba.txt
Git status
Git commit -m "fixed bug"
Git log
Git push
Echo "ABC">>1.txt
Git add .
Git commit  -m "Change 1"
Echo "123.txt">>1.txt
Git diff
Git add .
Git commit -m "Change 2"
Git status
Git log
Git branch
Man git-branch
Git log
Git checkout -b dev_change1 98989898998989
Git log
Git branch
Git log
Git show 898989hash
Git log
Git show 90809770hash
Git checkout master
Git log
Git log 1.txt
Git checkout 65555hash 1.txt
Git log
Git checkout 8989898hash pox.xml
Git

Git tag|grep demo
Git checkout -b "demo_branch" demo_tag
Git log
Git add .
Git pull
Git push

Git show

JBOSS 7 File system

Properties:
-----------------------
/opt/dev2adm/jboss-as-7.1.1.Final/modules/com/oneworldsync/conf/1syncprops/main

Logs:
----------------------
/opt/dev2adm/jboss-as-7.1.1.Final/standalone/log/AppLog

Executable
---------------------
/opt/dev2adm/jboss-as-7.1.1.Final/bin

Deployments
--------------------
/opt/dev2adm/jboss-as-7.1.1.Final/standalone/deployments

LOG Level:
------------------
FATAL
ERROR
WARN
INFO
DEBUG


 /opt/httpd-2.2.22/bin/httpd -f /opt/httpd-2.2.22/conf/httpd.conf -k start
 /opt/httpd-2.2.22/bin/httpd -f /opt/httpd-2.2.22/conf/httpd.conf -k stop


-J-Djavax.net.ssl.trustStrore=C:/Users/sb26313/Desktop/jssecacerts

No comments:

Advance Java Blogging

Java New Articles

Javas Latest News

Java Web Services and XML

Ajax Latest News

Mac OS Java Features

Advance Spotlights

Patterns Features