blob: bb35695bf9c5b126ac9abb1e6070a3fbb8fa2e9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#! /usr/bin/env bash
#
# usage:
# enter repo description into .git/description and run:
# git set-desc
#
# script written by Akshay and seen on
# <https://peppe.rs/posts/self-hosting_git/>
remote=$(git remote get-url --push origin)
scp .git/description "$remote/description"
|