I have 2 files (one modified and a new file) modified for commit. I want to create a patch for this. I created a patch using TortoiseGit, and I see that this patch contains changes for both files.
However, when I apply this patch to some repository, it applies both changes, but the new file does not appear as added. Because of this, if I just say: git commit, the newly added file is skipped from commit.
Is this a TortoiseGit error or am I something wrong?
I tried to create a patch using 'git --diff', but in this case it does not include the added file as part of the patch at all.
Thank you Vibhav Agrawal
source
share