Closed Stamo-Gochev closed 5 years ago
Although this is a duplicate of "options.hash", I think it is a better name for what it refers (branch). Also, this was the name of the option used in the current version of the code.
-b <branchName>
, --branch <branchName>
is the correct bash option.
Currently, it is not possible to open the commits page without checkout-ing the corresponding branch. This is because the "branch" option is not passed from the command line arguments. Thus "options.branch" is undefined at: https://github.com/hotoo/gitopen/blob/5f7c46f23c0fa80d6b7a90277824a1215cc06195/lib/index.js