--new branch from master. modify success git format-patch --stdout master > my.patch --patch diff commit between n..n1 git format-patch --stdout bb25e649fcbc539d99945600c262636621b48a3f..a427ce27eee37982312b7d7b8f2600c406109f20 > my.patch // zip file ที่มีความแตกต่าง ระหว่าง commit ce1f8df - 8a22bd8 git archive -o update.zip HEAD $(git diff ce1f8df 8a22bd8 --name-only) //apply patch to project git apply my.patch ----------------------------------- touch .gitignore ----------------------------------- git init git remote add origin http://10.1.1.60/Support/3K.git git pull origin master -- add to index git add -A stages All git add . stages new and modified, without deleted git add -u stages modified and deleted, without new git config --global user.email "support_myhr@csc.co.th" git config --global user.name "support_myhr" -- commit with message git commit -m initial git -c user.name='Paul Draper' -c user.email='my@email.org' commit -m '...' git config --global credential.helper 'cache --timeout=3600'