Removing refs if they are part of packed-refs file #7

Merged
ryanlerch merged 1 commit from master into master 2020-09-22 15:55:32 +00:00

View file

@ -67,6 +67,13 @@ cd /srv/git/repositories/<namespace>/<foo>.git
mv refs/heads/<branch> heads_<branch> mv refs/heads/<branch> heads_<branch>
``` ```
- Sometimes the ref is in the `packed-refs` file, in that case:
```
grep <branch> packed-refs > heads_<branch>
Then remove the line from `packed-refs` file
```
- On your local clone of <foo>, check that the branch was deleted upstream: - On your local clone of <foo>, check that the branch was deleted upstream:
``` ```