Projects STRLCPY git-open Commits 5b815cb6
🤬
  • Fix current errors in Markdown files

    Also: add package-lock.json to gitignore
    Remove prefix $ for commands in the manpage, hope people aren't angry
    Add MD034 to markdownlint ignore (bare links, which are helpful for the
    manpage)
  • Loading...
  • August Valera committed 6 years ago
    5b815cb6
    1 parent 702b8a6f
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    .gitignore
    1 1  node_modules/
    2 2  sandboxrepo
    3 3  git-open.1
     4 +package-lock.json
    4 5   
  • ■ ■ ■ ■ ■
    README.md
    skipped 129 lines
    130 130  Please provide examples of the URLs you are parsing with each PR.
    131 131   
    132 132  You can run `git-open` in `echo` mode, which doesn't open your browser, but just prints the URL to stdout:
     133 + 
    133 134  ```sh
    134 135  env BROWSER='echo' ./git-open
    135 136  ```
    136 137   
    137  -#### Testing:
     138 +### Testing:
    138 139   
    139 140  You'll need to install [bats](https://github.com/sstephenson/bats#installing-bats-from-source), the Bash automated testing system. It's also available as `brew install bats`
    140 141   
    skipped 36 lines
  • ■ ■ ■ ■ ■ ■
    git-open.1.md
    skipped 25 lines
    26 26  ## EXAMPLES
    27 27   
    28 28  ```sh
    29  -$ git open
     29 +git open
    30 30  ```
    31 31   
    32 32  It opens https://github.com/TRACKED_REMOTE_USER/CURRENT_REPO/
    33 33   
    34 34  ```sh
    35  -$ git open someremote
     35 +git open someremote
    36 36  ```
    37 37   
    38 38  It opens https://github.com/PROVIDED_REMOTE_USER/CURRENT_REPO/
    39 39   
    40 40  ```sh
    41  -$ git open someremote somebranch
     41 +git open someremote somebranch
    42 42  ```
    43 43   
    44 44  It opens https://github.com/PROVIDED_REMOTE_USER/CURRENT_REPO/tree/PROVIDED_BRANCH
    45 45   
    46 46  ```sh
    47  -$ git open --issue
     47 +git open --issue
    48 48  ```
    49 49   
    50 50  If branches use naming convention of `issues/#123`, it opens
    skipped 21 lines
    72 72  You can use `--global` to set across all repos, instead of just the current repo.
    73 73   
    74 74  ```sh
    75  -$ git config [--global] option value
     75 +git config [--global] option value
    76 76  ```
    77 77   
    78 78  ### Configuring which remote to open
    skipped 27 lines
    106 106  ```
    107 107   
    108 108  **Example**
     109 + 
    109 110  - Your git remote is at `ssh://[email protected]:7000/XXX/YYY.git`
    110 111  - Your hosted gitlab is `http://repo.intranet/subpath/XXX/YYY`
    111 112   
    skipped 25 lines
  • ■ ■ ■ ■ ■
    markdownlint.json
    skipped 8 lines
    9 9   "MD013": false,
    10 10   "MD026": false,
    11 11   "MD033": false,
     12 + "MD034": false,
    12 13   "MD036": false,
    13 14   "MD041": false
    14 15  }
    skipped 1 lines
Please wait...
Page is in error, reload to recover