Githawk: Repository 'code' view shows master instead of default

Created on 1 Nov 2017  路  5Comments  路  Source: GitHawkApp/GitHawk

Code view shows the state of master instead of the repository's default branch ie dev - not sure if intentional

馃悰 bug low priority

Most helpful comment

TIL you can change the default branch...

Sent with GitHawk

All 5 comments

I'd say we should definitely change this, do you have an example of a repo which is configured as such for testing?

TIL you can change the default branch...

Sent with GitHawk

@rnystrom Just need to chuck this somewhere:

... on Repository {
  defaultBranchRef {
    name
  }
}

Some repos I've worked on that have dev as default:

Maybe we need to just add branch selection in general. Atm it鈥檚 fixed for simplicity. However adding an extra call makes it basically as complicated as switching when you鈥檙e at the root dir.

Sent with GitHawk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rnystrom picture rnystrom  路  3Comments

weyert picture weyert  路  3Comments

BasThomas picture BasThomas  路  3Comments

BasThomas picture BasThomas  路  3Comments

jessesquires picture jessesquires  路  3Comments