M
M
martensit2016-09-03 00:48:58
git
martensit, 2016-09-03 00:48:58

What code should be written in GIT to create a difference file (patch) of two other files?

Installed GIT on windows.
1) The folder contains file "A" and file "B".
What commands need to be written in GIT in order to create a file "C" in the same folder, which will be the difference between file "A" and file "B".
2) The folder contains the file "A" and the patch file "C".
What commands need to be written in GIT in order to create a file "B" in the same folder, which will be the file "A" + patch "C"
In the Help for GIT, unfortunately I can not figure out what's what .. Please help ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2016-09-03
@martensit

What you want to do has absolutely nothing to do with git.
Read about diff/patch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question