We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6883e5 commit 20670fbCopy full SHA for 20670fb
lib/helpers.bash
@@ -196,6 +196,9 @@ _bash-it_update-() {
196
if [ -z "$BASH_IT_REMOTE" ]; then
197
BASH_IT_REMOTE="origin"
198
fi
199
+
200
+ git fetch $BASH_IT_REMOTE --tags &> /dev/null
201
202
if [ -z "$BASH_IT_DEVELOPMENT_BRANCH" ]; then
203
BASH_IT_DEVELOPMENT_BRANCH="master"
204
@@ -213,8 +216,6 @@ _bash-it_update-() {
213
216
TARGET=${BASH_IT_REMOTE}/${BASH_IT_DEVELOPMENT_BRANCH}
214
217
215
218
- git fetch $BASH_IT_REMOTE --tags &> /dev/null
-
219
declare status
220
status="$(git rev-list HEAD.."${TARGET}" 2> /dev/null)"
221
0 commit comments