#2580: GetComponents assumes that default branch name is "master"
Reporter: Roland Haas Status: new Milestone: Version: development version Type: bug Priority: minor Component: GetComponents
Comment (by Roland Haas):
Hackathon (Perl).
A way to get the default branch name is using this code:
```shell default_branch=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@') ```
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2580/getcomponents-assu...
trac@lists.einsteintoolkit.org