Using Git-ftp

View project on GitHub

https://github.com/git-ftp/git-ftp

git-ftp.github.io

Installation

brew install git-ftp

Setup

git config git-ftp.url ftp.example.net
git config git-ftp.user ftp-user
git config git-ftp.password secr3t

FTP

# Upload all files
git ftp init

# Or if the files are already there
git ftp catchup

# Work and deploy
git ftp push

My workflow… make edits in sublime, push to github (git push origin master), and then ftp push (git ftp push).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s