mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Merge pull request #915 from spacewander/typo
This commit is contained in:
commit
6880198fda
|
|
@ -220,7 +220,7 @@
|
|||
|
||||
* git-pr: emphasized that the remote is required when pulling multiple PRs.
|
||||
* Merge pull request #743 from spacewander/allow_multiple_pr
|
||||
* git-pr: accpeted multiple GitHub URL or ID with remote.
|
||||
* git-pr: accepted multiple GitHub URL or ID with remote.
|
||||
* git-pr: added <[remote]:pr number> option.
|
||||
* Merge pull request #740 from spacewander/tweak_man_readme
|
||||
* doc: clarify the current working directory when building the docs.
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
# Assert there is at least one tag provided
|
||||
test -z $1 && echo "tag required." 1>&2 && exit 1
|
||||
|
||||
# Detect the defalt remote exists or not
|
||||
defualt_remote=$(git config git-extras.default-remote)
|
||||
# Detect the default remote exists or not
|
||||
default_remote=$(git config git-extras.default-remote)
|
||||
|
||||
if [[ -n "$defualt_remote" ]]; then
|
||||
origin="$defualt_remote"
|
||||
if [[ -n "$default_remote" ]]; then
|
||||
origin="$default_remote"
|
||||
else
|
||||
origin=origin
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue