DEV Community

Discussion on: Bash tip of the day: lazygit

Collapse
 
mzaini30 profile image
Zen

If me:

git status
git add -A .
git commit -m "Upload"
git push
Collapse
 
vlasales profile image
Vlastimil Pospichal

Why . at the end of git add?

Collapse
 
mzaini30 profile image
Zen

For select all files.

Thread Thread
 
vlasales profile image
Vlastimil Pospichal

Usually I don't want to select all files, especially if I want to split commit into more independent steps.

Some comments have been hidden by the post's author - find out more