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

Not always default branch is "main" #25

Closed
tekknoid opened this issue Jun 10, 2023 · 1 comment
Closed

Not always default branch is "main" #25

tekknoid opened this issue Jun 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tekknoid
Copy link
Contributor

Some project are still using "master", it can be configured anyway.

git rev-parse --abbrev-ref origin/HEAD

https://github.com/chshersh/zbg/blob/b9be80fa391a35f6ef20a4ff24af3a91c6d950fc/lib/cli.ml#LL67C61-L67C61

chshersh pushed a commit that referenced this issue Jun 26, 2023
* Resolving issue #18 -  status can't print diff when different path than root
* fixed switch but - it will switch to default branch instead of "main"
* Added force alias to -f
* Code formatting
@chshersh
Copy link
Owner

Fixed by:

@chshersh chshersh added the enhancement New feature or request label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants