How to make a commit with plumbing commands
1. Setup Git repo
- Make empty folder called
git-plumbing. Git is not initialised!
.gitdirectory where all the Git system will reside. Git is not initialised!
- Git repository is a collection of object and a system for naming those objects (refs). Let's make
- Let's make
.git/refs/headswhich keep track of branches. Git is not initialised!
- The last missing piece to initialise a Gitrepo is a
HEADfile with content: