libtaskotron repo branch cleanup

Kamil Paral kparal at redhat.com
Fri May 16 07:20:15 UTC 2014


> I'd like to prune the git repo for libtaskotron. This would include
> removing the remote branches for:
> 
>   origin/feature/T46-bodhi-comment-directive
>   origin/feature/T47-bodhi-download
>   origin/feature/T79-upgradepath
>   origin/feature/T97-CheckDetail-TAP
>   origin/feature/config
> 
> I'm planning to delete the remote refs tomorrow sometime so if you
> have objections, speak up now.

None of those branches are there, they are just your local mirrors. Run:

$ git remote prune origin

Unfortunately (or maybe fortunately) git doesn't do that automatically. It doesn't even indicate such branches anyhow. So you need to run that command periodically (once you want to get rid of the cruft), possibly adding "-n" option to see what would be pruned.


More information about the qa-devel mailing list