F
F
fomenko_alexandr2018-06-12 01:18:25
git
fomenko_alexandr, 2018-06-12 01:18:25

PHPStorm how to upload files via ftp of a previously created commit?

Hello masters.
Please tell me how to solve this problem. Usually, I uploaded via FTP at the commit, but this time the FTP data was incorrect, and it was not possible to upload immediately.
Is there a function in PHPStorm that allows you to upload the files of a specific commit? Can I somehow select a commit from the log and upload it to the server?
I will be very grateful for the answers :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-06-12
@butteff

Here is a list of commands for rolling back to an old commit, creating an archive and uploading it via sftp (ssh) to the server:
1. take the commit id (32 characters), copy it 2. 3. 4.git log
scp files.tgz [email protected]:~/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question