Created
January 31, 2012 14:00
-
-
Save oma/1710625 to your computer and use it in GitHub Desktop.
git colors, gem methods. At user root ~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.idea | |
.DS_Store | |
ehthumbs.db | |
Icon? | |
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8 | |
require 'pry' | |
Pry.start | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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