What is the fastest way to upload code to the server?

I use filezilla to transfer thousands of files too slowly. Is there a faster way? How long will it take at the earliest?

Jun.28,2022

the simplest: git clone directly on the server
the most convenient: use deployment tools Capistrano, Deployer and other
the fastest: system control can use high-speed upload tool vagrant-unison


package upload, do not upload fragmented files, very slow.


package and upload to generate dist files, some of which are uploaded on the server. Don't upload all the dependencies of the entire project.


rsync command.


package upload


git is the fastest


git command line is faster, direct git pull,git push


rsync command


after local development IDE uses push, server-side automatic pull is the fastest.
I use Code Cloud as a code repository with a WebHooks that states: "Code Cloud WebHook function is to help users automatically call back a http address you set after push code. This is a general solution, users can write their own scripts (such as email, automatic deployment, etc.) according to different needs. ", that is, call the git pull command in this php file.


Server git clone is repackaged or rsync is locally packaged to the server.


Why can't ftp be compressed and uploaded and decompressed?


is still used to using ftp,git. I'm afraid to upload the problematic submission code


git is the fastest

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3beb9-43eb6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3beb9-43eb6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?