Answer the question
In order to leave comments, you need to log in
Is it possible to use git+ftp in a project at the same time?
I am a web master, and I work with different projects with minor and major edits on different sites. Now I use the code editor with the local file history and ftp plugin. It is convenient - what you opened - downloaded locally and stored separately, made changes and saved, a copy is again in history, you can always roll back or see the changes. When opening a local file, the plugin itself rushes to the server and checks if there are changes and offers to download if it is newer on the server. I also perverted and connected the cloud with versioning, which changes - it remains in the cloud in the form of a version, and when you need to roll back or see something - there are no strong problems, not very convenient, but what do we have.
Everything is fine, but there is one thing, it is required to work from home from the "office". And it is expected that working from two places will be more and more frequent, and for this purpose I want to change the approach and start using git. Hence a lot of questions:
1. If I use git, how do I carry changes with me, ie. I understand there are so-called clean repositories that store only changes. Those. Do I need to organize all the storage there and connect and synchronize with it on remote machines?
2. If the project is being worked on via ftp (not at the same time), I will need to somehow constantly synchronize in order to keep the repository up to date. Will I still be able to see old file changesets? Or is it something like resetting the state and all changes will go through the forest?
3. Who the thread can answer a couple of three stupid questions on the git? Please do not send to the docks - I read it, there are nuances not covered by the docks, and a person with experience in use is needed.
Answer the question
In order to leave comments, you need to log in
Just your case
UPD you have a lot of primitive questions about the general essence of the work of the git, in order to answer them - you just need to retell the docs of the git, so whether you like it or not, you will have to buy out how the git works. In short,
1) You store a turnip on a remote server and pull it from the desired branch before changes
2) If you work with git, you don’t need to edit the code on remote machines by hand. With the git, problems will begin.
3) Google and reach the apotheosis of the will of the mind
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question