Is there a way to stage or unstage (git add
/ git rm
) files only based on what was the type of modification?
Like :
- add/rm only files that are deleted
- add/rm only files that are new
- add/rm only files that are modified
- add/rm only files that are renamed