mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-11-10 20:35:13 +01:00
Alias 'f' to git fetch
This commit is contained in:
+3
-1
@@ -73,12 +73,14 @@ chpwd() {
|
|||||||
|
|
||||||
if [ -z "$(git rev-parse --show-prefix)" ]; then
|
if [ -z "$(git rev-parse --show-prefix)" ]; then
|
||||||
echo "Fetching latest changes from remote..."
|
echo "Fetching latest changes from remote..."
|
||||||
git fetch --quiet
|
git fetch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias f='git fetch'
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Editor
|
# Editor
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user