Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

learning_git_git-ftp

Install

Windows

Run the following as admin:

curl https://raw.githubusercontent.com/git-ftp/git-ftp/master/git-ftp > "C:\Program Files (x86)\Git\bin\git-ftp"
chmod 755 "C:\Program Files (x86)\Git\bin\git-ftp"

or try:

cd /c/"Program Files"/Git
git clone https://github.com/git-ftp/git-ftp git-ftp.git
cp /c/"Program Files (x86)"/Git/git-ftp.git/git-ftp /c/"Program Files (x86)"/Git/bin/git-ftp

Installation Instructions Install git-ftp under windows Git Url Windows

Config

Config git-ftp

# Setup
git config git-ftp.url "xxxx"
git config git-ftp.user "xxxx"
git config git-ftp.password "xxxx"

# Upload all files
git ftp init

# Or if the files are already there
git ftp catchup

# Work and deploy
echo "new content" >> index.txt
git commit index.txt -m "Add new content"
git ftp push
# 1 file to sync:
# [1 of 1] Buffered for upload 'index.txt'.
# Uploading ...
# Last deployment changed to ded01b27e5c785fb251150805308d3d0f8117387.

Configure git-ftp

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors