git实践一_git

find .git/objects/ -type f

git实践一_git _02

find .git/objects/ -type f | wc -l

git实践一_git _03

git add *

git commit -a -m "8 commit"

git实践一_git _04

ls -l .git/refs/tags/

git实践一_git _05

git tag v2.0

git实践一_git _06

cat .git/refs/tags/v2.0

git实践一_git _07

git cat-file -t 45672

git实践一_git _08

find .git/objects/ -type f | wc -l

git实践一_git _09

g


git tag -a milestone1.0 -m "this is the first stable version"

find .git/objects/ -type f | wc -l

git实践一_git _10


一次性提交

git commit -a -m "third commit"

git实践一_git _11

找回前面的版本

cat .git/refs/heads/master

cat .git/refs/tags/v2.0

git实践一_git _12

把v2.0 提取出来

git archive --format=tar --prefix=ruby/ v2.0 | gzip > /home/ruby2.0.tar.gz

cd /home

git实践一_git _13

根据什么来提取出来的

git实践一_git _14