Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

config git ftp

#-----In git Bash-----------
$ git clone https://github.com/git-ftp/git-ftp git-ftp.git
$ cd git-ftp.git && chmod +x git-ftp
$ cp ~/git-ftp.git/git-ftp /bin/git-ftp

#-----In your CMD----------
#Init a git repository on it:
git init
git add .
git commit -m "Initial commit"

#Configure you FTP:
git config git-ftp.user demouser
git config git-ftp.url ftp.example.com/demofolder
git config git-ftp.password demopassword

#Init the git-ftp client:
git ftp init

#Push your changes to FTP:
git ftp push

#Make your changes and commit:
git add someFile.html
git commit -m "Added someFile.html"

#Push your changes again and only what have changed is pushed:
git ftp push
Comment

PREVIOUS NEXT
Code Example
Shell :: apartheid linux 
Shell :: bash return every nth line 
Shell :: git ignore .pyc files 
Shell :: npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli 
Shell :: how to update ubuntu 
Shell :: maven test with debug 
Shell :: remove last commit git 
Shell :: login to ssh with password 
Shell :: how to copy ssh key 
Shell :: A multi-stage Dockerfile for building nodejs 
Shell :: ubuntu upgrade 
Shell :: Expose local postgres database over https 
Shell :: boot repair linux 
Shell :: s3cmd install 
Shell :: git username and password in terminal 
Shell :: uninstalling audacity on linux 
Shell :: evernote linux 
Shell :: Unable to create directory wp-content/uploads/. Is its parent directory writable by the server? 
Shell :: install cairo 
Shell :: ubuntu server login logs 
Shell :: dynamodb local how to delete table 
Shell :: install pyramid 
Shell :: how to check if a python script is running 
Shell :: substring frequency 
Shell :: sh: 1: nodemon: not found 
Shell :: auto run command vim startup 
Shell :: uncommit last commit in local 
Shell :: bash temp file 
Shell :: kubectl get pods 
Shell :: command to undo in emacs 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =