G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

Branch support #291

Open achilleas-k opened 4 years ago

achilleas-k commented 4 years ago

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 commented 2 years ago

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