Skip to content

Instantly share code, notes, and snippets.

@oma
Created January 31, 2012 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oma/1710625 to your computer and use it in GitHub Desktop.
Save oma/1710625 to your computer and use it in GitHub Desktop.
git colors, gem methods. At user root ~
# disse filene ligger alle under home. eks: /users/oma
---
:backtrace: false
:benchmark: false
:bulk_threshold: 1000
:sources:
- http://rubygems.org/
- http://gems.github.com
:update_sources: true
:verbose: true
gem: --no-ri --no-rdoc
[color]
diff = auto
status = auto
branch = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[user]
REPLACE with your user information
name = Ole Morten Amundsen
email = ...
[alias]
s=status
c=commit
d=diff
b=branch
m=merge
ch=checkout
p=pull
[core]
excludesfile = /Users/REPLACE With your user/.gitignore_global
.idea
.DS_Store
ehthumbs.db
Icon?
Thumbs.db
require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8
require 'pry'
Pry.start
exit
zsh with oh_my_zsh is strongly recommended. gives git autocompletion and much more!
putting a .rvmrc inside rails project is recommended, example
.rvmrc
rvm 1.9.3@rubykurs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment