Browse Source
Merge pull request #427 from piranm/163-add-config-remote-root-to-docs
Add config git-ftp.remote-root to docs
pull/431/head
Maikel
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
AUTHORS
-
man/git-ftp.1.md
|
@ -15,3 +15,4 @@ Maikel Linke <mkllnk@web.de> |
|
|
Dan Rench <github.com/drench> |
|
|
Dan Rench <github.com/drench> |
|
|
Marc Addeo <marcaddeo@gmail.com> |
|
|
Marc Addeo <marcaddeo@gmail.com> |
|
|
Hugo Laloge <hugo.laloge@yahoo.fr> |
|
|
Hugo Laloge <hugo.laloge@yahoo.fr> |
|
|
|
|
|
Piran Montford <github.com/piranm> |
|
@ -265,7 +265,7 @@ changes between branch `master` and branch `develop`: |
|
|
|
|
|
|
|
|
Don't repeat yourself. Setting config defaults for git-ftp in .git/config |
|
|
Don't repeat yourself. Setting config defaults for git-ftp in .git/config |
|
|
|
|
|
|
|
|
$ git config git-ftp.<(url|user|password|syncroot|cacert|keychain)> <value> |
|
|
|
|
|
|
|
|
$ git config git-ftp.<(url|user|password|syncroot|cacert|keychain|...)> <value> |
|
|
|
|
|
|
|
|
Everyone likes examples: |
|
|
Everyone likes examples: |
|
|
|
|
|
|
|
@ -278,6 +278,7 @@ Everyone likes examples: |
|
|
$ git config git-ftp.insecure 1 |
|
|
$ git config git-ftp.insecure 1 |
|
|
$ git config git-ftp.key ~/.ssh/id_rsa |
|
|
$ git config git-ftp.key ~/.ssh/id_rsa |
|
|
$ git config git-ftp.keychain user@example.com |
|
|
$ git config git-ftp.keychain user@example.com |
|
|
|
|
|
$ git config git-ftp.remote-root htdocs |
|
|
|
|
|
|
|
|
After setting those defaults, push to *john@ftp.example.com* is as simple as |
|
|
After setting those defaults, push to *john@ftp.example.com* is as simple as |
|
|
|
|
|
|
|
|