git ftp init --user $USER --passwd $PASSWORD ftp://mydomain.com/public_html/ push the entire branch to the public_html.
How can we only push specific directories from the branch.
Eg: My branch have the following directory structure
I want to push only App + DB to public_html.
Hi @Kiran K,
Looking at the documentation for git ftp, it looks like you can create a .git-ftp-ignore file with patterns of files to be ignored. That might help you. See documentation here: https://github.com/git-ftp/git-ftp/blob/develop/man/git-ftp.1.md#ignoring-files-to-be-synced
/Sigge
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.