mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
feat(git): add git submodule update to download function (#34)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/34
This commit is contained in:
parent
c931dd9cf7
commit
fba317b20c
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