forked from chanpory/greendog-rails-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_git.rb
More file actions
66 lines (53 loc) · 1 KB
/
_git.rb
File metadata and controls
66 lines (53 loc) · 1 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Create a .gitignore file and a new local repository, commit everything
puts "Initializing new Git repo ...".magenta
remove_file '.gitignore'
file '.gitignore', <<-CODE.gsub(/^ {2}/, '')
# ignore unneeded OS, backup and tempfiles
*~
.DS_Store
Thumbs.db
*.tmp
tmp.pot
.lastdeploy
.bundle
mkmf.log
# ignore temp files from merge
*.orig
*.rej
*.swp
# heroku only
#.gitmodules
#config/exceptional.yml
# needed on heroku
app/views/taglibs/auto
public/javascripts/all.js
public/stylesheets/all.css
public/stylesheets/compiled/*
public/system/*
# ignore unneeded rails stuff
config/database.yml
coverage/
db/*.sqlite3
doc/api
log/*.log
tmp/**/*
# ignore Textmate, Komodo, cscope, Eclipse, RubyMine and Quanta Plus files
nbproject
projfiles
.classpath
.project
.settings
.buildpath
.idea
*.kpf
*.launch
*.tmproj
*.session
*.webprj
cscope.out
tm_cscope.files
tags
CODE
git :init
git :add => "."
git :commit => "-am 'Initial commit.'"