Skip to content

Instantly share code, notes, and snippets.

View comckay's full-sized avatar

Connor McKay comckay

  • Pluralsight
  • Boston, MA
View GitHub Profile
@comckay
comckay / giratchive.sh
Created March 2, 2016 20:52 — forked from markrickert/giratchive.sh
Git Archive Bash Script
#!/bin/bash
# Takes one parameter: a remote git repository URL.
#
# This is the stuff this script does:
#
# 1. Clones the repository
# 2. Fetches all remote branches
# 3. Compresses the folder
# 4. Deletes the cloned folder.