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

git push does not work with subfolders #137

Open
runningman84 opened this issue Jan 5, 2019 · 1 comment
Open

git push does not work with subfolders #137

runningman84 opened this issue Jan 5, 2019 · 1 comment
Labels

Comments

@runningman84
Copy link

My directory structure looks like this

  • /config/Readme.md
  • /config/core
  • /config/core/configuration.yaml
  • /config/appdaemon

I can edit and commit any file in these directories.

The problem is that if I try to push git changes from any sub directory I get the message "/config/core".

But nothing gets pushed to the origin.

If I click on the push button within the top directory I get a proper message like "pushed to ssh://...".

I guess this is a bug, a git push should work from any directory within the git structure.

@danielperna84
Copy link
Owner

This is a limitation of the GitPython module that is being used by the configurator. When the push is triggered, the current directory is being used, and apparently the library has trouble when something different that the base of the repository is active. There might be a solution for this, but since there is a known workaround this has low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants