public
Created

git colors, gem methods. At user root ~

  • Download Gist
.gemrc
YAML
1 2 3 4 5 6 7 8 9 10 11
# 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
.gitconfig
INI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
[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
.gitignore_global
1 2 3 4 5
.idea
.DS_Store
ehthumbs.db
Icon?
Thumbs.db
.irbrc
1 2 3 4
require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8
require 'pry'
Pry.start
exit
more_tip.txt
1 2 3 4 5 6
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.