mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-05-23 19:37:28 +02: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
|
||||
echo "Fetching latest changes from remote..."
|
||||
git fetch --quiet
|
||||
git fetch
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
alias f='git fetch'
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Editor
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user