do not let git merge delete a file -
say have branch , b. in there file being deleted. being merged b , want have existing in b after merge. easiest way this?
if (for whatever reason) --no-commit
really isn't working you, go ahead , merge. then, git checkout head~ path/to/file
. then, commit --amend
. amend merge commit have deleted file in branch b before merge.
Comments
Post a Comment