Linus Torvalds for SCM of Linux “I’m an egotistical bastard, and I name all my projects after myself. First Linux, now git.” – Linus Git started out as a collection of lower level functions used in various combinations by shell and perl scripts. Donnerstag, 21. Juni 12
many people, having multiple branches developed by individual developers, being merged, branched and re- merged constantly Because of this, branching is incredibly cheap and merging is incredibly easy. Donnerstag, 21. Juni 12
No repository is special or central in Git It works completely offline or with hundreds of remote repositories that can push to and/ or fetch from each other over several simple and standard protocols. Donnerstag, 21. Juni 12
a .git directory in your current directory the .git directory holds all objects and references the .git is the whole repository Donnerstag, 21. Juni 12
a working copy, so it is not important if you switch branches, your working directory content will be changed without a checkout (an empty working directory) this is called a bare git repository Donnerstag, 21. Juni 12
in the .git/ refs/heads with the SHA-1 of the last commit for that branch ➡ Creating a branch is nothing more than just writing 40 characters to a file. DEMO Donnerstag, 21. Juni 12
and a merge you can change it to be a fetch and a rebase git config branch.autosetuprebase always/never/local/ remote or you can call git pull --rebase Donnerstag, 21. Juni 12