A
A
Andrey Brekotkin2017-09-09 02:52:04
git
Andrey Brekotkin, 2017-09-09 02:52:04

What about Git?

I've been scratching my head for a long time, I can't think of a way out of this situation:
Let's say we have a working site on the hosting, I'm the only one developing it, so when comparing codes, merging branches, etc. it makes no sense.
But I want to maintain version control - the changes made and their rollback if necessary.
It is logical for these purposes to create a local copy of the site, use git and upload to the hosting.
But what if you urgently need to make small changes on the go, let's say change the color of the link?
Now I can find any computer, quickly go to ftp and make these changes. Or even from the phone through the site admin panel.
Using git, as I understand it, I will have to download the entire repository on this "any" computer .... the option with the phone generally disappears.
The essence of the question: how to organize version control on the site, if you often have to correct it when you find it in the shortest possible time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Zhurkin, 2017-09-09
@icCE

You can go from the opposite.
Make edits via ftp, but git will commit the changes automatically.
It will also be uploaded to a third-party server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question