DaVinci Coders Brownbag

Teachers

Resources

Installation

Suggested Books, Articles

Course Materials, Links

Command History

git init davinci
cd davinci
tree .git
pwd
cd ..
rm -rf davinci
ls
pwd
mkdir davinci
cd davinci
git status
mkdir .git
git status
mkdir .git/objects
mkdir .git/refs
mkdir .git/refs/heads
git status
tree .git
echo "ref: refs/heads/master" > HEAD
git status
tree .git
echo "ref: refs/heads/master" > .git/HEAD
rm HEAD
git status
tree .git
cat .git/HEAD
ls
echo "And the silky sad uncertain rustling of each purple curtain"
git help hash-object
while :
ls
cd davinci
while :\ndo \nclear\ntree .git\nsleep 1\ndone
echo "And the silky sad uncertain rustling of each purple curtain" | git hash-object --stdin -w
git cat-file -t 75965bc63dc69510137cda43a9c1a733786d9d88
git cat-file -s 75965bc63dc69510137cda43a9c1a733786d9d88
git cat-file -p 75965bc63dc69510137cda43a9c1a733786d9d88
git status
git update-index --add --cacheinfo 100644 75965bc63dc69510137cda43a9c1a733786d9d88 raven.txt
git status
ls
git write-tree
git cat-file -t 4bf1a28fe8d41591cf0b6e7169024abc01bce7f7
git cat-file -s 4bf1a28fe8d41591cf0b6e7169024abc01bce7f7
git cat-file -p 4bf1a28fe8d41591cf0b6e7169024abc01bce7f7
git commit-tree 4bf1a28fe8d41591cf0b6e7169024abc01bce7f7 -m "Initial commit"
git status
git log
cat .git/HEAD
echo a98b912b6e0ee6a4f6fc1ca3f0283832f7179615 > .git/refs/heads/master
git log
git status
ls
git checkout HEAD -- raven.txt
git status
git ls-tree HEAD
vi raven.txt
git status
git add raven.txt
git cat-file -p 7896
git log
cat cat-file -t a98b
git cat-file -t a98b
git cat-file -p a98b
git status
git commit -m "Fantastic terrors"
git cat-file -p 4144e
git log --graph --decorate --oneline --all
git loglive
git branch feature
tree .git/refs
git rev-parse HEAD
git rev-parse HEAD > .git/refs/heads/davinci
rm .git/refs/heads/feature