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

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -