I believe git ftp support is a somewhat recent addition, but the git push docs do clearly state that "Git natively supports ssh, git, http, https, ftp, ftps, and rsync protocols." (emphasis added)
However, others have asked what to do if git fails to push to ftp server, and I am having exactly the same problem.
So -- can anyone definitively state whether or not "git push" works with the ftp protocol?
If yes ... then can anyone answer that other question? :-)
If no ... is this in the works, or should I be looking at git-ftp?
I'm using git 1.7.3.1 under Windows.
Many thanks for any info or advice! (BTW, I had this question all nicely hyperlinked, but as a lowly 1-rank I only get one link, so had to remove the others ...)
The git push command is used to upload local repository content to a remote repository. Pushing is how you transfer commits from your local repository to a remote repo. It's the counterpart to git fetch , but whereas fetching imports commits to local branches, pushing exports commits to remote branches.
Git does not use this natively, although it is possible to mount a remote directory using SFTP (e.g., with sshfs ) and then push into that repository as if it were a local repository.
No, Git does not support a push to an FTP server, only clone and fetch. This was previously answered.
But there are several tools to upload your code to an FTP server that work with Git.
I think you should use ftp-git, it's a GUI tool to push changed files in git repository to ftp server.
You can check the changed files in GUI way, and it can save your ftp connection details for future use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With