thescientist13 / git-explorer

Offline-first support for previewing and comparing branches in a local git repository.
MIT License
16 stars 5 forks source link

set relevant branch defaults when starting the application #9

Closed thescientist13 closed 4 years ago

thescientist13 commented 4 years ago

Type of Change

Summary

Using something like git status it would help to determine a couple things about the project, namely the active branch.

Details

Knowing the active branch could be used to set the selectedSourceBranch for the dropdown.

As far as destination branch, I guess first would be to check if master exists, and use that. But if develop exists, assume that instead?