mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-14 03:03:42 +02:00
feat(git): add git submodule update to download function
This commit is contained in:
parent
c931dd9cf7
commit
30114080df
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ gitf () {
|
||||||
local remote="${2:-origin}"
|
local remote="${2:-origin}"
|
||||||
|
|
||||||
git pull "$remote" $(git rev-parse --abbrev-ref HEAD)
|
git pull "$remote" $(git rev-parse --abbrev-ref HEAD)
|
||||||
|
git submodule update --recursive
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Update all git submodules in this repo. "sd" for submodule download.
|
# Update all git submodules in this repo. "sd" for submodule download.
|
||||||
|
|
Loading…
Add table
Reference in a new issue