Skip to content

Instantly share code, notes, and snippets.

@dcsg
Created October 25, 2012 23:09
Show Gist options
  • Save dcsg/3956033 to your computer and use it in GitHub Desktop.
Save dcsg/3956033 to your computer and use it in GitHub Desktop.
Allows you to delete de current branch from the git server
ssh server_ip -l root
sudo -u git_user git config --system receive.denyDeleteCurrent warn
sudo -u git_user git config --global receive.denyDeleteCurrent warn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment