I have a file called test_module.c that has some differences that I want to apply to my local working copy.
I tried to create patch file from the remote by doing the following. However, git didn't complain about any errors. And didn't create any patch file either.
git format-patch master/dev_branch test/test_module.c
It is possible to create a patch of a single file, that I can apply?
(Using git version 1.7.5.4)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…