Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to git push using ftp?

Tags:

git

git-push

ftp

I want to upload (using only ftp) to my server only changes. I have a working git repository in my local. But I cant figure out any way to push using ftp.

I can use git push to send other hosting, beacuse it allow ssh, but this hosting only allows ftp.

like image 965
nerkn Avatar asked May 04 '11 16:05

nerkn


1 Answers

The git-ftp script does exactly this:

git-ftp by René Moser is a simple shell script for doing FTP the Git way. Use git-ftp.sh to upload only the Git tracked files to a FTP server, which have changed since the last upload. This saves time and bandwith. Even if you play with different branches, git-ftp.sh knows which files are different. No ordinary FTP client can do that.

like image 176
CharlesB Avatar answered Oct 07 '22 13:10

CharlesB