Git cherry-pick not recognizing changes?
I'm trying to move a commit from one branch to another using git cherry-pick. When I select the commit, it says it's empty. That's not true; a local translation file has been modified. When I open the commit, I can clearly see the changes. I can use git commit –allow-empty to create a new commit, but it's being created on the original branch and not on the feature branch the commit is supposed to go to. I'm doing something wrong, but I don't quite understand what it is. Git recognizes the changes, but cherry-picking doesn't. Does anyone know anything about this and can help me?
It would be possible that the changes already exist on both sectors. Make a diff on both branches
Otherwise, it might also be that the file is in the .gitignore file, but I do not think that in the case.