@@ -63,21 +63,79 @@ eventdate: 2013-12-04
63
63
* ` reset ` and ` reflog `
64
64
* ` rebase `
65
65
* Hooks
66
- * remote branches
67
- * ` bisect `
68
- * Where do you stand on ` gitk ` ?
69
- * The back of the neck
70
- *
71
66
72
67
73
68
74
69
## Command History
75
70
76
-
77
-
78
-
79
-
80
-
81
-
82
-
71
+ mkdir repo
72
+ mkdir .git
73
+ ls -la
74
+ cd repo
75
+ while :\ndo\nclear\ntree .git\nsleep 1\ndone
76
+ tree .git
77
+ mkdir .git/objects
78
+ mkdir .git/refs
79
+ mkdir .git/refs/heads
80
+ echo "ref: refs/heads/master" > .git/HEAD
81
+ git help hash-object
82
+ echo "So. The Spear-Danes in days gone by had courage and greatness."
83
+ echo "So. The Spear-Danes in days gone by had courage and greatness." | git hash-object --stdin -w
84
+ git cat-file -p c023
85
+ git cat-file -s c023
86
+ git cat-file -t c023
87
+ git update-index --add --cacheinfo 100644 c023c23a67e64dc4af96c2932a3292e42039321b beowulf.txt
88
+ git write-tree
89
+ git cat-file -p f419
90
+ git commit-tree f419e48cc86ee4d9c14295b58d74a6ec945a5b45 -m "Initial commit"
91
+ git cat-file c5e3
92
+ git cat-file -p c5e3
93
+ cat .git/HEAD
94
+ echo c5e3e15c5dacf05ab171cafde078588761cf6f11 > .git/refs/heads/master
95
+ git checkout HEAD -- beowulf.txt
96
+ cat beowulf.txt
97
+ cat `which git-loglive`
98
+ git loglive
99
+ git config alias.lol
100
+ git config --global alias.lol "log --graph --oneline --decorate --all"
101
+ vi beowulf.txt
102
+ git commit -m "Noble campaigns"
103
+ gitlog
104
+ git log
105
+ echo e27121ce7992f94b54f125ef4964aeeb6fbc8b6f > .git/refs/heads/feature
106
+ git commit -m "Added README"
107
+ git commit -m "Bleak"
108
+ git rebase master
109
+ generaterandomchanges 10 junk txt
110
+ git rebase -i f71a
111
+ git branch
112
+ vi .git/refs/heads/master
113
+ git reset --hard HEAD^
114
+ git checkout feature
115
+ git reset --hard 0a7d908
116
+ ld
117
+ git reset --hard HEAD@{1}
118
+ git reflog
119
+ tree .git/HEAD
120
+ git init monkey
121
+ cp -r monkey/.git/hooks repo/.git
122
+ cd repo/.git/hooks
123
+ mv commit-msg.sample commit-msg
124
+ ls
125
+ vi commit-msg
126
+ git commit -m "Morrow"
127
+ git commit -m "Morrow monkey"
128
+ vi .git/hooks/commit-msg
129
+ .git/hooks/commit-msg "Morrow "
130
+ .git/hooks/commit-msg "Morrow monkey"
131
+ vi .git/hooks/pre-commit.sample
132
+ cd .git/hooks
133
+ mv commit-msg commit-msg.sample
134
+ tree .git/re
135
+ pwd
136
+ cd ../..
137
+ tree .git/refs
138
+ gitk
139
+ gitk --all
140
+ git log -- raven.txt
83
141
0 commit comments