mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-27 00:13:43 +02:00
feat: git pull shell
This commit is contained in:
parent
4696365f78
commit
7b39e65323
2 changed files with 14 additions and 7 deletions
14
pull.sh
Executable file
14
pull.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git_pull() {
|
||||||
|
git pull
|
||||||
|
}
|
||||||
|
|
||||||
|
git_pull_submodule() {
|
||||||
|
git submodule update --recursive --remote
|
||||||
|
git submodule foreach git checkout main
|
||||||
|
git submodule foreach git pull origin main
|
||||||
|
}
|
||||||
|
|
||||||
|
git_pull
|
||||||
|
git_pull_submodule
|
7
sub.sh
7
sub.sh
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
git submodule update --recursive --remote
|
|
||||||
|
|
||||||
git submodule foreach git checkout main
|
|
||||||
|
|
||||||
git submodule foreach git pull origin main
|
|
Loading…
Add table
Reference in a new issue