summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bashrc/main.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc/main.sh b/bashrc/main.sh
index c78f500..3c769b7 100644
--- a/bashrc/main.sh
+++ b/bashrc/main.sh
@@ -15,7 +15,7 @@ _self_update() {
# save the origin, the current master is based of
if ! git branch | grep old-origin -q; then
- git branch old-origin origin/master
+ git branch --no-track old-origin origin/master >/dev/null 2>&1
fi
if hash timeout >/dev/null 2>&1; then