git is one of the most used version control systems out there. It is super versatile but this comes also with a price. git only safes the diff (difference) between two commits. Operations like amend or rebase will create new commits. A commit is nothing more than the difference between the last commit and the changes you did right now.

9m read timeFrom steven-giesel.com
Post cover image
Table of contents
git init or git cloneWhat is remote, origin and local?git fetchgit branches and commitsgit pushmergegit pullrebaseHEADorigin/main vs origin mainMultiple upstreamsConclusion
1 Comment