-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev_notes.txt
More file actions
40 lines (30 loc) · 850 Bytes
/
dev_notes.txt
File metadata and controls
40 lines (30 loc) · 850 Bytes
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
# gh - github command
gh create-from-local # create github repository from local
# alternatively, create repo in github
# how to create a new local repository and commit locally
git init
git add .
git commit -m "some comment"
# tie local repo to github
git remote add origin git@github.com:svoeller99/someRepo.git
git push -u origin master
# get status of local vs. repo (delta)
git status
# add any newly created files
git add .
# only add new stuff under 'app' folder
git add app/
# commit changes to local repo
git commit -m "some comment"
# push local commits to remote (github)
git push
# deploy using engineyard gem
ey deploy
# typical dev cycle stuff
git add .
git commit -m "some comment"
git push
ey deploy
# open rails console
cd myproj
rails console