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

Allow Git Remote to be reconfigured #36

Closed
vHanda opened this issue Dec 6, 2019 · 4 comments
Closed

Allow Git Remote to be reconfigured #36

vHanda opened this issue Dec 6, 2019 · 4 comments

Comments

@vHanda
Copy link
Contributor

vHanda commented Dec 6, 2019

Currently once the Git Remote Host has been setup there is no way to change it, or even view what it was set to. We should provide a way to change the remote host, specially since we're a big advocate of Data Portability.

@zeddyblue
Copy link

zeddyblue commented Jan 27, 2020

Hi,
What is the best way to change this at the moment? Specifically, all I want to change is the target folder in the existing git repo I have set up. Is this even possible or do I need to rethink my git setup?

Or is there a way to change the default "notes" folder of GitJournal. I need to do this so it plays nicely with my other linux desktop app. For example if I have ~/notes/ on my desktop everything works fine. But I need to have ~/notes/default/ and I want to make "default" the default folder for gitjournal. It still works as is, but basically I can only see notes in the folder view. The notes view is always empty.

Thanks

@deobald
Copy link

deobald commented May 20, 2020

Downvoting in earnest since I think this thing is ultimately important but hardly important for early adopters. We can just reinstall the app. Thanks for building gitjournal!

vHanda added a commit that referenced this issue May 26, 2020
This is quick and dirty way of fixing the problem. It doesn't migrate
the notes from the previous repo and just discards them, so you cannot
move your notes from one repo to another using GitJournal (for now), but
at least its better than having to re-install the app.

Related to #36
@vHanda
Copy link
Contributor Author

vHanda commented May 26, 2020

The current solution allows you to clone a different repository. So it's not exactly letting you configure the git remotes, but it's better than nothing.

In the future, I'll add a way to change the remote, thereby preserving the data, and maybe even allow multiple remotes.

vHanda added a commit that referenced this issue May 31, 2020
Ideally when removing a folder one shouldn't have any notes, but
sometimes we do allow an entire folder to be reset.

Related to #36
@vHanda
Copy link
Contributor Author

vHanda commented Jul 13, 2020

Closing this as there are 2 different bugs to allow an extra remote to be added and to add support for multiple repos.

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