diff options
Diffstat (limited to 'bin/git-publish')
| -rwxr-xr-x | bin/git-publish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/git-publish b/bin/git-publish index c545825..0016764 100755 --- a/bin/git-publish +++ b/bin/git-publish @@ -2,9 +2,9 @@ # Copy your current branch to a "publishing" remote. # -# By default, this remote is the remote matching your local username. However, -# you can set `publish.remote` to publish to another repository (eg. origin). +# By default, this remote is origin. However, you can set `publish.remote` to +# publish to another repository (eg. my-fork). -REMOTE="$(git config publish.remote || echo "${USER}")" +REMOTE="$(git config publish.remote || echo "origin")" exec git push --force-with-lease "$@" "${REMOTE}" HEAD |
