Skip to content

Commit 25daa7c

Browse files
duckunixspacewander
authored andcommitted
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'
1 parent 425eb35 commit 25daa7c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/git-fork

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ test -z "$url" && abort "github repo needs to be specified as an argument"
1414
echo "Enter your github username"
1515
read user
1616
[ -n "$user" ] || abort "git username required"
17-
echo "Enter github password for user \"$user\""
17+
echo "Enter github Personal Access Token for user \"$user\""
1818
read -s passwd
19-
echo "Enter github two-factor authentication code (leave blank if not set up)"
20-
read MFA_CODE
2119

2220
# extract owner + project from repo url
2321
project=${url##*/}

0 commit comments

Comments
 (0)