You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,9 @@ files within it's directory.
122
122
<td>Git helpers</td>
123
123
<td>
124
124
<ol>
125
+
<li><b>bl_git_available</b>: True if git binary or function is available</li>
126
+
<li><b>bl_in_git_repo</b>: True if current directory is a git working directory</li>
127
+
<li><b>bl_github_owner_repo</b>: returns $owner/$repo extracted from the url of the origin remote</li>
125
128
<li><b>bl_repo_root</b>: Find the root of the current git repo.</li>
126
129
<li><b>bl_all_files_in_repo</b>: List files tracked by git.</li>
127
130
<li><b>bl_remote_latest_tag</b>: Returns the symbolic name of the latest tag from a remote.</li>
@@ -133,6 +136,21 @@ files within it's directory.
133
136
<li><b>bl_cat_gittrees</b>: Returns the contents of .gittrees from the top level of the repo, excluding any comments. Fails if .gittrees is not present.</li>
134
137
</ol>
135
138
</td>
139
+
</tr>
140
+
<tr>
141
+
<td><a href="github/lib">git</a></td>
142
+
<td>Github Related Functions</td>
143
+
<td>
144
+
<ol>
145
+
<li><b>bl_hub_available</b>: True if hub binary or function is available</li>
146
+
<li><b>bl_hub_creds_available</b>: True if hub creds are available (file or env vars)</li>
147
+
<li><b>bl_hub_check</b>: Preflight check for hub, true if git installed, in git repo, hub installed and hub creds are available</li>
148
+
<li><b>bl_hub_download_latest</b>: Download latest hub binary from github and install to ~/bin or specified path</li>
149
+
<li><b>bl_hub_issue_number_for_title</b>: Find the issue number for an issue from its title, searches open issues in the current repo. (current repo = workding directory, repo is found by origin remote)</li>
150
+
<li><b>bl_hub_add_issue_comment</b>: Add a comment to an issue</li>
151
+
<li><b>bl_hub_comment_or_create_issue</b>: Create issue if an issue matching the title doesn't exist. If a match is found, add a comment to it</li>
0 commit comments