Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Oh My Git!

An open source game about learning Git! · By blinry, bleeptrack

Please use `git add filename` not git add .

A topic by jrieffel created Mar 16, 2021 Views: 1,316 Replies: 1
Viewing posts 1 to 2

I can't tell you how many times my undergraduate students have gotten in the weeds because they `git add .` or `git add *`.  It's much better to explicitly add the file or files you want to commit.  Would you consider changing the first git commit card (git add .; git commit) to `git add glass`?


Also `git add -p` is a real super power for chosing exactly what to include in the next commit.