Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--auto-init uploads files in .git-ftp-ignore #592

Open
Baegus opened this issue Sep 4, 2020 · 1 comment
Open

--auto-init uploads files in .git-ftp-ignore #592

Baegus opened this issue Sep 4, 2020 · 1 comment
Labels
needs_testing Can't be confirmed at the moment, but more testing is needed to be sure.

Comments

@Baegus
Copy link

Baegus commented Sep 4, 2020

Bug

I use git-ftp with --auto-init enabled as a part of my Gitlab CI. I have some files and directories excluded using the .git-ftp-ignore file, but when the first init happens, it copies over those ignored entries as well (which means I have to delete them manually). Running git ftp push for the second time ignores all the files correctly.

Here's the command I'm running:
git ftp push -f --auto-init -v --syncroot $GIT_DIR_TO_UPLOAD --remote-root $DIR_ON_SERVER --user $USERNAME --passwd $PASSWORD $HOST

@LukasFritzeDev LukasFritzeDev added the needs_testing Can't be confirmed at the moment, but more testing is needed to be sure. label Sep 5, 2020
@ghost
Copy link

ghost commented Jan 10, 2022

have you tried without -f ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_testing Can't be confirmed at the moment, but more testing is needed to be sure.
Projects
None yet
Development

No branches or pull requests

2 participants