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

Branch support #291

Open
achilleas-k opened this issue May 26, 2020 · 1 comment
Open

Branch support #291

achilleas-k opened this issue May 26, 2020 · 1 comment

Comments

@achilleas-k
Copy link
Member

The gin ls command assumes the active branch is master for a few operations/comparisons, especially when trying to figure out if a file differs from the server/remote. Officially branches aren't supported in the client: Since it can't create branches and we discourage mixing gin and git commands, we consider it an unsupported workflow.

We might support creating branches in the future, but as a first step, dropping the master branch assumption and checking the default upstream branch would allow users to use the gin client with branches.

@jcolomb
Copy link

jcolomb commented Mar 11, 2022

also linked to using "main" instead of "master".

  • gin get sometimes create a master branch if there is none. (and if there is no remotes/origin/HEAD?)

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

2 participants