Skip to content

Instantly share code, notes, and snippets.

@mattcollier
Last active June 6, 2018 12:49
Show Gist options
  • Save mattcollier/ca81baa9ac2c2811c3dcd6f3f27eac0a to your computer and use it in GitHub Desktop.
Save mattcollier/ca81baa9ac2c2811c3dcd6f3f27eac0a to your computer and use it in GitHub Desktop.
debian git from backports
cat <<EOF | tee /etc/apt/sources.list.d/stretch-backports.list
deb http://http.debian.net/debian stretch-backports main contrib non-free
EOF
cat << EOF | tee /etc/apt/preferences.d/90_stretch-backports_packages
Package: git git-man
Pin: release n=stretch-backports
Pin-Priority: 1000
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment