This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import SocketServer | |
import SimpleHTTPServer | |
import urllib2 | |
from urlparse import urlparse, urljoin | |
PORT = 8880 | |
FOLLOW_REDIRECT = True | |
PROXY_RULES = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git co release | |
Switched to branch 'release' | |
$ cat .git/HEAD | |
ref: refs/heads/release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat .git/HEAD | |
ref: refs/heads/master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git branch release cae1990 | |
$ find .git/refs | |
.git/refs | |
.git/refs/heads | |
.git/refs/heads/master | |
.git/refs/heads/release | |
.git/refs/tags | |
$ cat .git/refs/heads/release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find .git/refs | |
.git/refs | |
.git/refs/heads | |
.git/refs/heads/master | |
.git/refs/tags |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git cat-file -p b303 | |
tree 42e998096f18d4249dc00ec89eaaadc44a8bf3cb | |
parent cae19909974ee9e64f5787fe4ee89b9b8fe94ccf | |
author Ivan Ivanov <[email protected]> 1335786789 +0300 | |
committer Ivan Ivanov <[email protected]> 1335786789 +0300 | |
second commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git cat-file -p cae1 | |
tree 4966bf4e5c88c5f9d149b45bb2f3099644701d93 | |
author Ivan Ivanov <[email protected]> 1335783964 +0300 | |
committer Ivan Ivanov <[email protected]> 1335783964 +0300 | |
first commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git cat-file -t 4966 | |
tree | |
$ git cat-file -p 4966 | |
040000 tree eb85079ce7fd354ffc630f4a8e2991196cb3807f new | |
100644 blob 27703ec79a98c1d097d5b1cd320befffa376e826 test.txt | |
$ git cat-file -t eb85 | |
tree | |
$ git cat-file -p eb85 | |
100644 blob fa49b077972391ad58037050f2a75f74e3671e92 new.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ find .git/objects -type f | |
.git/objects/27/703ec79a98c1d097d5b1cd320befffa376e826 | |
.git/objects/49/66bf4e5c88c5f9d149b45bb2f3099644701d93 | |
.git/objects/ca/e19909974ee9e64f5787fe4ee89b9b8fe94ccf | |
.git/objects/eb/85079ce7fd354ffc630f4a8e2991196cb3807f | |
.git/objects/fa/49b077972391ad58037050f2a75f74e3671e92 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git commit -m "first commit" | |
[master (root-commit) cae1990] first commit | |
2 files changed, 2 insertions(+), 0 deletions(-) | |
create mode 100644 new/new.txt | |
create mode 100644 test.txt |
NewerOlder