Created
December 12, 2017 09:39
-
-
Save TamerShlash/5638d14190f2bf446d6cb6cf15ce86bc to your computer and use it in GitHub Desktop.
Delete all Merge Requests references.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git for-each-ref refs/merge-requests/*/head --format='%(refname)' | \ | |
while read ref | |
do | |
git update-ref -d $ref | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment