mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
Compare commits
No commits in common. "fba317b20cceeb20741afaf616d4dad13899a5f7" and "d1432cb07f2cde7a324b28a0eff5353010859d56" have entirely different histories.
fba317b20c
...
d1432cb07f
1 changed files with 0 additions and 7 deletions
|
@ -93,13 +93,6 @@ 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.
|
|
||||||
"sd")
|
|
||||||
# Only supports "master" as branch for now. This could cause unexpected results if a tracked submodule has a different branch or location name
|
|
||||||
git submodule foreach "(git checkout master; git pull)"
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Push commited changes (current branch) to a remote (defaults to "origin"). "u" for upload.
|
# Push commited changes (current branch) to a remote (defaults to "origin"). "u" for upload.
|
||||||
|
|
Loading…
Add table
Reference in a new issue