Alias 'f' to git fetch
This commit is contained in:
parent
b3866294bc
commit
7abac0e4e9
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue