From 162a9a9fa311d0487e61d85f81120c465e303299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Sat, 5 Nov 2016 11:21:52 +0100 Subject: [PATCH] Regenerate man pages with information about GITHUB_TOKEN --- man/hub.1 | 5 ++++- man/hub.1.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/man/hub.1 b/man/hub.1 index b0881e7c..6fcfda7e 100644 --- a/man/hub.1 +++ b/man/hub.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "HUB" "1" "January 2015" "GITHUB" "Hub Manual" +.TH "HUB" "1" "November 2016" "GITHUB" "Hub Manual" . .SH "NAME" \fBhub\fR \- git + hub = github @@ -178,6 +178,9 @@ Hub will prompt for GitHub username & password the first time it needs to access .P To avoid being prompted, use \fIGITHUB_USER\fR and \fIGITHUB_PASSWORD\fR environment variables\. . +.P +Alternatively, you may provide \fIGITHUB_TOKEN\fR, an access token with \fIrepo\fR permissions\. This will not be written to \fB~/\.config/hub\fR\. +. .SS "HTTPS instead of git protocol" If you prefer the HTTPS protocol for GitHub repositories, you can set "hub\.protocol" to "https"\. This will affect \fBclone\fR, \fBfork\fR, \fBremote add\fR and other operations that expand references to GitHub repositories as full URLs that otherwise use git and ssh protocols\. . diff --git a/man/hub.1.html b/man/hub.1.html index 0702826e..c497ea4f 100644 --- a/man/hub.1.html +++ b/man/hub.1.html @@ -222,6 +222,9 @@ the API and exchange it for an OAuth token, which it saves in "~/.config/hub".To avoid being prompted, use GITHUB_USER and GITHUB_PASSWORD environment variables.

+

Alternatively, you may provide GITHUB_TOKEN, an access token with +repo permissions. This will not be written to ~/.config/hub.

+

HTTPS instead of git protocol

If you prefer the HTTPS protocol for GitHub repositories, you can set @@ -479,7 +482,7 @@ $ git help hub

  1. GITHUB
  2. -
  3. January 2015
  4. +
  5. November 2016
  6. hub(1)
-- GitLab