This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
22a01f2
commit c1f182c
Showing
2 changed files
with
3 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
# In a repo | ||
# $DEST_REPO/$DEST_BRANCH is defined, readable, and writeable | ||
# $BEFORE_SHA..$LAST_SHA must define a sequence of commits | ||
# fetch all has just been run | ||
|
||
DEST_REMOTE=$1 | ||
DEST_BRANCH=$2 | ||
|
@@ -21,7 +22,7 @@ SKIP_COMMIT_STRING="DO NOT SYNC" | |
# TODO Maybe don't need these? I think the identity of the PAT is overriding them anyway | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "GHA: Update Upstream From Fork" #TODO better name | ||
git fetch --all | ||
# git fetch --all | ||
echo "-------------------------" | ||
echo "git log --oneline remotes/$DEST_REMOTE/$DEST_BRANCH:" | ||
git log --oneline "remotes/$DEST_REMOTE/$DEST_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