In a feature branch (cloned from master) we added some files and than deleted them. The same files where added to the master branch.
When we now try to merge back the feature to the master the files in the master get deleted (my understanding is, because the information "we don't need these files" is stored in the feature branch)
Which git command can we use to ignore or delete this "historic knowledge" in the feature branch?
Once you merge your feature branch into the master branch, git checks for any changes in your feature branch to apply to master. Therefore, if a file is deleted from your feature branch, after merge to master, the file will also be deleted from master. So you either need to add the file back to the feature branch and merge to master or just readd the file to master.