Posts

Showing posts from 2015

New to Git

Image
This is how I understand Git Git is used to store files, track history, share files, collaborate work. How Git works? Git is like a key value data store. Git stores files and folders as objects. Objects: The objects are named using they SHA-1 hash - 40 character checksum value of the content. The objects are stored in .git/objects folder. The object is placed in folder with name as the first two characters and file name as the remaining 38 characters. The object contains header (type & size) and body. There are 3 types of objects 1. Blob - File Blob contains the content of the file 2. Tree - Folder Tree contains reference to other trees and/or blobs 3. Commit - Snapshot of all the folders and files at some point in time. The object contains the info about the root tree (top most tree) tree parent (at least one parent, first commit has no parent, merge commit has two parents) author committer 4. Tag Representation of how Git stores fil...

My Stock Preference

12/30/2015: Buy AMC, INTC, GLW 10/2/2015: Buy BABA, GPRO, WMT