Help Center> CodeArts Repo> FAQs> Using Repositories> How Do I Clear Repository Resources?
Updated on 2023-12-04 GMT+08:00

How Do I Clear Repository Resources?

You can use the following four methods to clear repository resources.

  • On the repository details page, choose Code > branches. In the branches list, select an unnecessary branch and click to delete the branch from CodeArts Repo. Then clone or pull code from the cloud repository to delete the branch from the local host. You can also manually run the -d command in local repository to delete the branch.
  • On the repository details page, choose Code > Tags. In the tag list, select an unnecessary tag and click to delete the tag from CodeArts Repo. Then clone or pull code from the cloud repository to delete the tag from the local host. You can also manually run the -d command in local repository to delete the tag.
  • On the repository details page, choose Settings > Repository Management > Space Freeing to run background clean-up tasks, including compressing files and removing unused objects.
  • Choose Settings > Repository Management > Submodules in the repository details to delete unnecessary submodules.

Using Repositories FAQs

more