Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
commit 368 B
#!/bin/bash
# We will try to add new files to the list
printf "Attempting to add new files\n"
git add -N comps-*

printf "Committing...\n"
git commit -aF - <<EOF
Sync from Upstream (see notes)

The following comps have received changes

$(git diff --name-only --diff-filter=M | grep 'in' | sed -e 's/comps-rocky-\(\d+\)/\1/g')
EOF

printf "You may now run git push\n"