GIT

[compiledsuccessfully.dev] git-skip-worktree

[slides.com/plipski] git-internals

git-scm.com/book/Git-Internals-Git-Objects

Git Internals, content-addressable filesystem

[yt] Linus Torvalds on git, 2007

git system rozproszony, dlaczego to takie nowe i ważne

ohshitgit.com

Rozwiązania dla typowych problemów z git

tutorial: git stash

Commit messages guide

[RomuloOliveira] Commit Messages Guide

Use imperative from

If applied, this commit will --commit message--

Capitalize first letter

stick to a single standard and follow it

Explain "why", "for what", "how"

Rebase

Applies your branch commits, one by one, upon the base branch, generating a new tree.

Merge

Creates a new commit, called (appropriately) a merge commit, with the differences between the two branches.

Squash

Taking a series of commits and condensing them into a single commit

rebase -i

Rebase and squash rewrite history and overwrite existing commits

[hackernews] Git rebase in depth (git-rebase.io)

Przykłady

# Wgraj plik z poprzedniego commit do katalogu roboczego
git checkout HEAD~1 -- gulp-sourcemaps.pug