На основе Git Tip: Удаление старых локальных веток , которое выглядит как решение jason.rickman . Для этой цели я реализовал пользовательскую команду под названием git seen используя Bash:
$ git gone
usage: git gone [-pndD] [=origin]
OPTIONS
-p prune remote branch
-n dry run: list the gone branches
-d delete the gone branches
-D delete the gone branches forcefully
EXAMPLES
git gone -pn prune and dry run
git gone -d delete the gone branches
git gone -pn
объединяет сокращение и вывод списка «пропавших» ветвей:
$ git gone -pn
bport/fix-server-broadcast b472d5d2b [origin/bport/fix-server-broadcast: gone] Bump modules
fport/rangepos 45c857d15 [origin/fport/rangepos: gone] Bump modules
Затем вы можете нажать на курок, используя git gone -d
или git gone -D
.
"$BRANCH/.*: gone]"
, где $BRANCH
обычно будет origin
. Это, вероятно, не сработает, если ваш вывод Git локализован на французский и т. Д. Я использую TeamCity в среде Windows, но считаю, что он будет работать на Mac и имеет агенты сборки xcode.
Другой похожий вопрос здесь .
Наша команда использует Hudson со сценарием, который преобразует выходные данные модульного теста из XCode в формат NUnit.
We worked out what was using all the memory - log files - older buildbot keeps all logs forever and keeps them in memory (possibly until a restart).
Newer buildbot can be configured to keep a fixed amount of history.
Buildbot build log files should be limited in size to avoid the problem.
I use the XcodeBuilder that's part of CruiseControl. Of course it helps that I wrote it. :)
But I did use it on a real multiple person project for an iPhone app (Surf) that's for sale in the app store.