Skip to content

Instantly share code, notes, and snippets.

@rafarocha
rafarocha / git_tips.md
Last active August 29, 2015 14:23 — forked from fguillen/git_tips.md

(Several of these git examples have been extracted from the book 'Pragmatic guide to GIT' of Travis Swicegood )

Git tips

Global git user

git config --global user.name "Fernando Guillen"
git config --global user.email "fguillen.mail+spam@gmail.com"

Repository git user

cd /develop/myrepo

# java - version
```
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)
```
# javaws - version
```
Java(TM) Web Start 10.25.2.15-fcs