Skip to content

Instantly share code, notes, and snippets.

@ixth
Last active December 15, 2015 16:39
Show Gist options
  • Save ixth/5290746 to your computer and use it in GitHub Desktop.
Save ixth/5290746 to your computer and use it in GitHub Desktop.
#!/bin/sh
REPO="git://github.com/phpmyadmin/phpmyadmin.git"
DEST="pma"
VER="RELEASE_3_5_7"
DIRS=
git clone ${REPO} "${DEST}" --no-checkout -b ${VER} --depth=1
(cd "${DEST}" && git reset && git checkout ${DIRS})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment