P
P
Plant2016-06-03 10:44:42
git
Plant, 2016-06-03 10:44:42

Git, is it possible to attach remote changes to a project?

Initial data:
We have a git repository. The repository has a branch in which only we are currently working and making changes. Commit changes (if any) or update to get the latest version from the repository. We add the working directory to the archive, send it to another person without a git system, who makes some changes to the project and sends it back to us. We are not working with the catalog at this moment and we are not making any changes.
Essence of the question.
Is it possible to just unpack the sent archive and make a commit&push? Will there be any problems?
How can two projects be brought together, according to the conditions above? Those. one project is registered in the git system, and the second, its copy, is edited without the git system (perhaps even without a .git directory)? Is it possible to just put the .git directory in the edited project (if it doesn't exist) and try to do a commit&push?
Ps. I understand the complexity and absurdity of these actions, but still there are special cases.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-06-03
@alexey-m-ukolov

Is it possible to just put a .git directory in the edited project (if it doesn't exist) and try to do a commit&push?
This will work, but it's probably easier to overwrite all changed files in your copy under git. Functionally, the options are identical, but it's easier when there is only one repository, and the archives received from the gitophobe pervert are simply deleted after copying.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question