mirror of
https://git.rockylinux.org/rocky/pungi-rocky.git
synced 2024-12-26 11:00:56 +00:00
add sync script
This commit is contained in:
parent
93b5cdaa93
commit
48081bed22
1 changed files with 10 additions and 0 deletions
10
sync-from-upstream
Executable file
10
sync-from-upstream
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Fetching from upstream"
|
||||
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/pungi-centos.git centos-9-stream
|
||||
echo "Formatting patch and applying..."
|
||||
git format-patch --stdout -1 FETCH_HEAD | sed -e 's|centos/|rocky/|' | git apply
|
||||
echo "!! DIFF OF CHANGES !!"
|
||||
git --no-pager diff HEAD
|
||||
|
||||
echo "You may now commit and push."
|
Loading…
Reference in a new issue