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

subdirectories are not ignored #21

Closed
tukinu opened this issue Dec 13, 2012 · 2 comments
Closed

subdirectories are not ignored #21

tukinu opened this issue Dec 13, 2012 · 2 comments

Comments

@tukinu
Copy link

tukinu commented Dec 13, 2012

hello,
i really like this way to deploy, it saves me so much time.
but i try to ignore some subfolders but it doesn't work.

this is my .gitignore

themes
wp-admin
wp-includes
wp-content/*
!wp-content/themes

.gitignore
.svn

themes, wp-includes are ignored, the rest dosn't work.
can someone help me with this?

thanks

@Yogu
Copy link

Yogu commented Dec 15, 2012

If you don't choose to upload uncommitted changes, git-deploy uploads the current state of the repository. So you must make sure that the files are not in the index, i.e. they do not show up on GitHub. If they do, remove them (git remove --cached filename).

Anyway, I'm not quite sure whether I understand you right, so you may also have experienced a bug.

@aizatto
Copy link
Owner

aizatto commented Dec 15, 2012

That is correct, I don't follow .gitignore file, rather what is in your repositoy.

@aizatto aizatto closed this as completed Dec 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants