-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyt1History.txt
55 lines (54 loc) · 1.77 KB
/
myt1History.txt
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
2139 mkdir ~/Code/go/src
2140 mkdir -p ~/Code/go/src
2141 cd ~/Code/go/src
2142 mkdir -p github.com/omac777/gostbook
2145 git config --global core.editor emacs
2148 git config --global merge.tool meld
2149 mkdir -p github.com/omac777/t1
2150 cd github.com/omac777/t1/
2156 export GOPATH=/home/loongson/Code/go
2157 git init
2159 go build
2161 ./t1
2173 emacs .gitignore &
2175 git add .
2176 git commit -m 'initial commit for t1'
2177 git status
2178 git log
2180 emacs README &
2181 git add README
# any file you add, it needs to be committed first, then pushed to remote.
# you need to create the t1 repository on github before adding it as a remote
2186 git remote add origin https://github.com/omac777/t1.git
2191 git pull origin master
2192 git commit -m 'added README for t1'
2194 git pull origin master
2200 git push origin master
2213 git add myt1History.txt -f
2214 git commit myt1History.txt -m 'adding a history of all gitcommands used'
2215 git push origin master
2216 git pull origin master
2217 git push origin master
2344 go get github.com/zeebo/gostbook
2377 go get code.google.com/p/gorilla/pat
2378 go get code.google.com/p/gorilla/sessions
2379 go get labix.org/v2/mgo
2380 go get labix.org/v2/mgo/bson
2385 go get thegoods.biz/httpbuf
2387 go get code.google.com/p/go.crypto/bcrypt
2425 git add context.go
2426 git add entry.go
2427 git add handlers.go
2428 git add http.go
2429 git add template.go
2430 git add user.go
2432 cp main.go main.goNotForGitHub
2435 git commit
2436 git push origin master
2438 git push origin master
2439 git pull origin master
2441 git push origin master
2442 git commit main.go
2443 git push origin master
2448 git commit README
2449 git push origin master