mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git-fork | update to match REST-API auth standards as of 2021-06
- Removed prompt for OATH Token - Change prompt from 'password' to 'GitHub Personal Access Token'
This commit is contained in:
parent
206fe7ccfb
commit
4a4c5296f3
|
|
@ -14,10 +14,8 @@ test -z "$url" && abort "github repo needs to be specified as an argument"
|
|||
echo "Enter your github username"
|
||||
read user
|
||||
[ -n "$user" ] || abort "git username required"
|
||||
echo "Enter github password for user \"$user\""
|
||||
echo "Enter github Personal Access Token for user \"$user\""
|
||||
read -s passwd
|
||||
echo "Enter github two-factor authentication code (leave blank if not set up)"
|
||||
read MFA_CODE
|
||||
|
||||
# extract owner + project from repo url
|
||||
project=${url##*/}
|
||||
|
|
|
|||
Loading…
Reference in a new issue