Skip to content

Instantly share code, notes, and snippets.

View eubnara's full-sized avatar

Yubi Lee eubnara

View GitHub Profile
@stefanbuck
stefanbuck / upload-github-release-asset.sh
Last active August 27, 2024 08:46
Script to upload a release asset using the GitHub API v3.
#!/usr/bin/env bash
#
# Author: Stefan Buck
# License: MIT
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447
#
#
# This script accepts the following parameters:
#
# * owner
"""Set all repositories of a given GitHub organization name for a given user
to watching.
"""
import argparse
import json
import requests
def get_repos(url, repo_list=[], auth=None):
@cadams500
cadams500 / git-tag-sync
Created February 24, 2012 17:55
Synchronize Git Tags With Remote
git tag -l | xargs git tag -d
git fetch