The purpose of the git ↗ is handling version control.
-
Create git repo
git init
-
Add git ignore file:
# .gitignore node_modules/ # Next ignore patterns .next/ .build/ .coverage/ # Custom ignore patterns ...
-
Add git attributes file:
# .gitattributes **/pnpm-lock.yaml -diff