Commit two times for new files
Every time that I add a new file I need to make two checks for the same file, one for kinda mark the file/folder as a versioned file, as you can see below
and then when I enter in the commit change window it appears as a file that has changed, but I've just committed
Is it possible to avoid this double-operation?
Please sign in to leave a comment.
Hi,
This happens because these files were not committed initially but just git added. To avoid double operation, go to File | Settings | Version Control | Confirmation and pick one of of the following:
If you pick Ask → you will be asked to git add each new file which will be ready for commits
If you pick Add silently → file will be automatically added
Thanks for the answer, it's solved the problem