Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Wack61916ygit add .
git commit -m "woops fixing the last thing and overwriting the last commits message..." --amend -
xewl41266y@x4fyr That's redundant, of course -am works too
But new files, that aren't added are still not taken into consideration, so he has to git add them first.
You could've done -amend though, @endofreach -
Yes thats true but somehow i prefer to write out voth flags. And i like to write the add due to control of adding only specific files if needed or to add all with .
A little bit more to write but thats kinda routine for me
git commit -a -m 'added new files'
git status
-.-
git add .
git commit -a -m 'added new files'
rant