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

Per-project branch switching #1455

Open
aljazerzen opened this issue Jan 29, 2025 · 0 comments
Open

Per-project branch switching #1455

aljazerzen opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@aljazerzen
Copy link
Contributor

Branch commands currently do not heed project_stash/database file. edgedb-rust does read it, so when connecting, it will be used, but branch switch does not write to it. But it should.

In other words, current branch should also be a per-project setting, not just per-instance.
When outside the project, instance's branch is used and when in a project, project's branch is used.

# cd project1
# gel branch current
main       (the project's branch, read from project stash)

# cd ..       (outside of any project)
# gel branch current
another    (the instance's branch, read from credntials.json)

# cd project2
# gel branch current
third-one

And we need to actually test this.

@aljazerzen aljazerzen added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant