DEV Community

Discussion on: My Git Aliases Categorized by Usage

Collapse
 
eckelon profile image
JA Samitier

Great aliases, thanks!!

I'd suggest to replace the add . with add -u in the acm alias, to only add files that were already added before (e.g to avoid adding a big node_modules by accident)

Cheers!

Collapse
 
briang123 profile image
Brian Gaines

Thanks JA, for your feedback!

For me, I have node_modules in my .gitignore file so I won’t need to deal with that. Also, I use this command to initially stage and commit my files.