-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/bash -e | ||
git pull # you forget this | ||
# ugh | ||
# master=$(git rev-parse --verify master 2>/dev/null 1>&2 && echo master || echo main) | ||
# git submodule foreach --recursive 'git checkout master; git pull origin master:master; :' | ||
git submodule foreach --recursive 'git checkout master; git pull origin master:master; :' | ||
git submodule foreach --recursive ' | ||
branch=$(git rev-parse --verify master 2>/dev/null 1>&2 && echo master || echo main); | ||
git checkout $branch; | ||
git pull origin $branch:$branch; | ||
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
#!/bin/bash -e | ||
git pull & | ||
git submodule foreach --recursive 'git checkout master; git pull origin master:master & :' | ||
# git submodule foreach --recursive 'git checkout master; git pull origin master:master & :' | ||
git submodule foreach --recursive ' | ||
branch=$(git rev-parse --verify master 2>/dev/null 1>&2 && echo master || echo main); | ||
git checkout $branch; | ||
git pull origin $branch:$branch & : | ||
' | ||
wait |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
#!/bin/bash -e | ||
git submodule foreach --recursive 'git checkout master && git push origin master & :' | ||
git push origin master | ||
# git submodule foreach --recursive 'git checkout master && git push origin master & :' | ||
git submodule foreach --recursive ' | ||
branch=$(git rev-parse --verify master 2>/dev/null 1>&2 && echo master || echo main); | ||
git checkout $branch; | ||
git push origin $branch & : | ||
' | ||
# branch=$(git rev-parse --verify master 2>/dev/null 1>&2 && echo master || echo main); | ||
# git push origin $branch | ||
git push origin | ||
wait |
Submodule my-gym
updated
from 2c2f89 to fc75a8