How can I get rid of these annoying info when bamboo checkout source repo?
Asked by IanYifanChan:

Hi guys,

I have a remote repo which only has 3-4 branches normally, but when its bamboo job is running and checking out the source repo at the beginning, it shows thousands of these errors:

```
20-Oct-2016 07:00:08	Fetching 'refs/heads/*' from 'ssh://git@bitbucket.xxxxx.com:7999/rin/xxxxx.git'.simple	20-Oct-2016 07:00:08	Warning: Permanently added '[127.0.0.1]:43468' (RSA) to the list of known hosts.simple	20-Oct-2016 07:00:09	Checking out revision a667238b1e496eda03205acebe89d84985330aa1.simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/CDT-1042_20160824103059 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/CDT-918_20160803152934 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/CDT-959_20160802104434 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/WFJOBS-670_20160616163749 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/WFJOBS-761_20160728132821 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160606100003 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160606120002 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160615091203 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160616110715 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160616111510 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160622150004 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160622151837 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160627091417 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160627100640 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160629130001 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160707091003 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160708091200 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160708091832 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160714090132 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160714091525 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160714092007 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160714104122 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160714144117 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160715090021 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160715091256 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160715092333 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160715110005 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160715110631 does not point to a valid object!simple	20-Oct-2016 07:00:10	error: refs/remotes/origin/auto_upgrade/scheduled_20160718091354 does not point to a valid object!
```

......

I am 100% sure that these branches have been already deleted many months before, but how can I get rid of these annoying info?


Answers:
author: Krystian Brazulewicz
body: Maybe removing repository cache would help (Administration / Repository Settings).

comments: author: IanYifanChan
body: Thank you Krystian, I will give it a try.


Tags: bamboo-administration