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
#!/bin/bash | |
# Quick script to sync all my forks on GitHub up-to-date with the parent repo | |
# Assumes I never commit to the main branch, which I try to avoid. | |
# Runs on cron, so only outputs with errors. | |
USER=$(gh api '/user' | jq -r .login) | |
REPOS=$(gh api "users/$USER/repos?type=owner&per_page=100" | jq -r '.[] | select( ( .fork == true ) and ( .disabled == false ) and ( .archived == false ) ) | .full_name + " " +.default_branch' ) | |
while IFS= read -r line; do |
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
#!/bin/bash | |
# SVN ci partial support | |
# | |
# This script can be enabled with a `svn()` wrapper defined in your profile. | |
# | |
# Props need to go to authors who have attempted this in the past, particularly to | |
# Karljohan Lundin Palmerius for his work with using kompare: | |
# https://www.itn.liu.se/~karlu20/div/blog/2013-05-31_SVNPartialCommit.php | |
# |
OlderNewer