Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

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,481 Replies: 1
Viewing posts 1 to 2
(+5)

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`?

(+1)

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