<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 25, 2016 at 12:01 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">ref: <a href="http://lists.mcs.anl.gov/pipermail/petsc-dev/2015-June/017808.html" rel="noreferrer" target="_blank">http://lists.mcs.anl.gov/pipermail/petsc-dev/2015-June/017808.html</a><br>
<br>
I've deleted all deveopment branches that are already merged into<br>
maint (v3.7) from <a href="https://bitbucket.org/petsc/petsc" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/petsc</a><br>
<br>
However if you wish to remove these branches from your clone - it has<br>
to be done manually (in each clone).<br>
<br>
To get this list of branches to delete - you can do:<br>
<br>
git branch --merged v3.7 |egrep -v " (maint|master|next)" > branches_to_delete<br></blockquote><div><br></div><div>I just get</div><div><br></div><div><div>maint $:/PETSc3/petsc/petsc-dev$ git branch --merged v3.7 </div><div>git branch --merged v3.7 </div><div> knepley/feature-configuration-callbacks</div></div><div><br></div><div>which is the one branch I have leftover here. Is that what I am supposed to get?</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
After *verifying* the list is correct - and ok to delete - they can be deleted with:<br>
<br>
git branch -d `cat branches_to_delete`<br>
<br>
And to sync the [deleted] remove branch list info - you can do:<br>
<br>
git fetch -p<br>
<br>
For more housekeeping - look at the remaining local and remote<br>
branches and figure-out what to do. [perhaps some of them are<br>
intermediate branches during rebase - or abandoned features that<br>
should be deleted]. For my branches - I would do:<br>
<br>
git branch<br>
git branch -r |grep balay<br>
<br>
Satish<br>
----------------<br>
reference for self:<br>
$ git branch -r --merged v3.7 |egrep -v origin/\(maint\|master\|next\) |sed -e s%origin/%:% > remote_branches_to_delete<br>
$ git push -u origin `cat remote_branches_to_delete`<br>
To git@bitbucket.org:petsc/petsc.git<br>
- [deleted] Fande-Kong/moved-partitioning-to-pcgasmsetup<br>
- [deleted] balay-to-maint-fix-vs2015-vsnprintf<br>
- [deleted] balay/add-KSPComputeRitz-patch<br>
- [deleted] balay/add-clang-sa-build<br>
- [deleted] balay/add-fortran-DMRemoveLabel<br>
- [deleted] balay/configure-pkg-git-autoupdate<br>
- [deleted] balay/el-parmetis-check<br>
- [deleted] balay/el_AxpyInterface_removal<br>
- [deleted] balay/fix-externalpackage-build-shared<br>
- [deleted] balay/fix-fortran-unused_variables<br>
- [deleted] balay/fix-sowing-valgrind<br>
- [deleted] balay/fix-streams-npmax<br>
- [deleted] balay/fix-win-isnan<br>
- [deleted] balay/ftn-command_argument<br>
- [deleted] balay/git-externalpackage-update<br>
- [deleted] balay/improve-odpes<br>
- [deleted] balay/rm-tree<br>
- [deleted] balay/superlu_dist-4.3<br>
- [deleted] balay/superlu_dist-4.3-p1<br>
- [deleted] balay/to-maint-add-mpiuni_mpi_in_place<br>
- [deleted] balay/to-maint-add-urlretrieve-timeout<br>
- [deleted] balay/to-maint-fix-fortran-fflag-order<br>
- [deleted] balay/to-maint-fix-gfortran51-warnings<br>
- [deleted] balay/to-maint-fix-win64-long<br>
- [deleted] balay/to-maint-metis-parmetis-nocxx<br>
- [deleted] balay/to-maint-migrate-builds<br>
- [deleted] balay/to-maint/update-superlu_dist-4.1<br>
- [deleted] balay/update-elemental-0.86-pre<br>
- [deleted] balay/update-gmake-check<br>
- [deleted] balay/update-gnumake-41<br>
- [deleted] balay/update-metis-xcode-fix-to-maint<br>
- [deleted] balay/update-mpich-3.2<br>
- [deleted] balay/update-sowing-svn<br>
- [deleted] balay/update-superlu_dist_mar-16-294e2d0<br>
- [deleted] barry-allow-vecset-nan-3.6<br>
- [deleted] barry/Sylvain-gmres-symmetric<br>
- [deleted] barry/add-concurrencykit<br>
- [deleted] barry/add-dmdavecgetarrayreadf90/maint<br>
- [deleted] barry/add-dmshellcreaterestriction<br>
- [deleted] barry/add-mpiu_allreduce<br>
- [deleted] barry/add-pcfieldsplit-logevent<br>
- [deleted] barry/add-pcreset-hypre<br>
- [deleted] barry/add-pcreset-hypre-for-master<br>
- [deleted] barry/all-petscoptionssetvalue-beforepetscinitialize<br>
- [deleted] barry/always-mark-floats<br>
- [deleted] barry/better-matsetoption-error<br>
- [deleted] barry/check-for-PetscInt-overflow<br>
- [deleted] barry/check-nullspace-properties<br>
- [deleted] barry/cleanup-pcsetupcalled<br>
- [deleted] barry/cleanup-petscsys<br>
- [deleted] barry/download-mstk<br>
- [deleted] barry/download-pflowtran<br>
- [deleted] barry/downloads<br>
- [deleted] barry/error-on-extern-c-of-petscincludes<br>
- [deleted] barry/feature-force-setting-exactfinaltime<br>
- [deleted] barry/feature-linesearch-monitor<br>
- [deleted] barry/feature-ts-monitor-binary<br>
- [deleted] barry/fix-dmnetworkcomponentalignment<br>
- [deleted] barry/fix-log-summary-format<br>
- [deleted] barry/fix-matgetlocalsubmatrix<br>
- [deleted] barry/fix-matheaderreplace<br>
- [deleted] barry/fix-matseqaijgetarrayf90<br>
- [deleted] barry/fix-mg-coarse-ksp-defaults<br>
- [deleted] barry/fix-mg-coarse-redundant<br>
- [deleted] barry/fix-mpiuni<br>
- [deleted] barry/fix-mumps-destroy<br>
- [deleted] barry/fix-nonew-notcollective/maint<br>
- [deleted] barry/fix-petscviewer-attempt-2<br>
- [deleted] barry/fix-private-functions<br>
- [deleted] barry/fix-stageevent-idtypes<br>
- [deleted] barry/fix-ts-matshift-error<br>
- [deleted] barry/fix-win-e-00<br>
- [deleted] barry/fix-xsdktrilinos<br>
- [deleted] barry/fixes-for-release-1<br>
- [deleted] barry/improve-git-download<br>
- [deleted] barry/improve-minres<br>
- [deleted] barry/improve-opt-handling<br>
- [deleted] barry/improve-ts-monitor-interpolation<br>
- [deleted] barry/list-downloads<br>
- [deleted] barry/maint/fix-snessetupdate-fortran<br>
- [deleted] barry/maint/mv-matnullspace-to-mat<br>
- [deleted] barry/make-nonstatic-petscviewerflowcontrol<br>
- [deleted] barry/master/fix-cuda-extern-c<br>
- [deleted] barry/monitor-fromoptions<br>
- [deleted] barry/not-single-precision<br>
- [deleted] barry/optimize-xolotl<br>
- [deleted] barry/petscoptions-object<br>
- [deleted] barry/remove-matmffdaddnullspace/master<br>
- [deleted] barry/remove-pc-nonzero-guess<br>
- [deleted] barry/remove-pcsetup-mg-changeofpreonly/master<br>
- [deleted] barry/remove-unneed-tao-tolerances<br>
- [deleted] barry/shell-update-vector-states<br>
- [deleted] barry/simplify-test-jobs<br>
- [deleted] barry/update-hypre<br>
- [deleted] barry/update-monitors<br>
- [deleted] barry/update-petscmemoryshowusage<br>
- [deleted] barry/update-superlu<br>
- [deleted] barry/update-superlu_dist<br>
- [deleted] barry/update-superlu_dist-again<br>
- [deleted] barry/various-fixes<br>
- [deleted] barry/xml-nested-logging<br>
- [deleted] dalcinl/ts-2nd-order-systems<br>
- [deleted] dalcinl/tsbdf<br>
- [deleted] dmay/PetscSubcommDestroy-manpage<br>
- [deleted] emil/doc-add-error-control<br>
- [deleted] emil/fix-arkimex-diverged-reason<br>
- [deleted] emil/fix-manual-typos-in-ts<br>
- [deleted] emil/fix-ts-euler-generate-error-if-non-rhsfunction<br>
- [deleted] emil/to-maint-fix-euler-interpolation<br>
- [deleted] emil/to-maint-fix-ts-reporting-nonembedded<br>
- [deleted] hongzh/add-checkpointing-support-for-adaptive-ts<br>
- [deleted] hongzh/add-ts-trajectory-statistics<br>
- [deleted] hongzh/checkpointing<br>
- [deleted] hongzh/checkpointing-update<br>
- [deleted] hongzh/fix-bug-for-cost-integral<br>
- [deleted] hongzh/update-revolve<br>
- [deleted] hongzh/update-ts-trajectory<br>
- [deleted] hzhang/dmnetwork-spJacobian<br>
- [deleted] hzhang/dmnetwork-spJacobian1<br>
- [deleted] hzhang/dmnetwork-spJacobian2<br>
- [deleted] hzhang/dmnetworkmonitor<br>
- [deleted] hzhang/fix-pcredundant<br>
- [deleted] hzhang/fix-ptapfill<br>
- [deleted] hzhang/fix-superlu_dist<br>
- [deleted] hzhang/inode-erroriffpe<br>
- [deleted] hzhang/matconvert-den2el<br>
- [deleted] hzhang/matgetsubmat_sbaij1<br>
- [deleted] hzhang/matmatmult_crmax<br>
- [deleted] hzhang/matmatmult_dense<br>
- [deleted] hzhang/matpackage-erroriffpe<br>
- [deleted] hzhang/matpackage-type<br>
- [deleted] hzhang/mattransmatmult_dense<br>
- [deleted] hzhang/mumps-getseterrorflg<br>
- [deleted] hzhang/opt-ptap<br>
- [deleted] hzhang/superlu-5.1<br>
- [deleted] hzhang/superlu_dist-4.3-ex17<br>
- [deleted] hzhang/update-networkex<br>
- [deleted] hzhang/update-networkex-header<br>
- [deleted] jed/dmdarestoreelements-strict<br>
- [deleted] jed/fix-cuda-deps<br>
- [deleted] jed/fix-ksp-norm-none<br>
- [deleted] jed/fix-ml-visibility<br>
- [deleted] jed/mat-assembly-perf<br>
- [deleted] jed/process-options-handler<br>
- [deleted] jed/workaround-mpich-naughty-ibarrier<br>
- [deleted] jose/veccuda-complex<br>
- [deleted] karlrupp/feature-ViennaCL-1.7.x<br>
- [deleted] karlrupp/fix-matrixmarket-viewer<br>
- [deleted] karlrupp/fix-petscinitialize-cuda<br>
- [deleted] karpeev/fix-pcgasm-reuse<br>
- [deleted] karpeev/fix-snes-test-docs<br>
- [deleted] karpeev/maint-fix-gnupackage-ldflags<br>
- [deleted] knepley/dm-fix-header-docs<br>
- [deleted] knepley/doc-snes-ex1<br>
- [deleted] knepley/feature-dmda-add-accessors<br>
- [deleted] knepley/feature-drand48-portable<br>
- [deleted] knepley/feature-ds-copy<br>
- [deleted] knepley/feature-ex5-mms<br>
- [deleted] knepley/feature-ex5-mms-params<br>
- [deleted] knepley/feature-label-empty-stratum<br>
- [deleted] knepley/feature-mpfr<br>
- [deleted] knepley/feature-patrick-control-problem<br>
- [deleted] knepley/feature-plex-add-time<br>
- [deleted] knepley/feature-plex-handle-func-failure<br>
- [deleted] knepley/feature-plex-jacp<br>
- [deleted] knepley/feature-plex-ordering-group<br>
- [deleted] knepley/feature-plex-point-location<br>
- [deleted] knepley/feature-snes-deflation<br>
- [deleted] knepley/feature-snes-setfunctionnorm<br>
- [deleted] knepley/fix-configure-HOME<br>
- [deleted] knepley/fix-configure-compiler-log<br>
- [deleted] knepley/fix-configure-dirs<br>
- [deleted] knepley/fix-configure-logging<br>
- [deleted] knepley/fix-configure-ml<br>
- [deleted] knepley/fix-configure-relative-installdir<br>
- [deleted] knepley/fix-configure-saving<br>
- [deleted] knepley/fix-dm-clone-coord-section<br>
- [deleted] knepley/fix-dm-clone-coordinates<br>
- [deleted] knepley/fix-dt-tanhsinh<br>
- [deleted] knepley/fix-error-messages<br>
- [deleted] knepley/fix-ex5-coords-empty<br>
- [deleted] knepley/fix-ex5-patchwise<br>
- [deleted] knepley/fix-examples-plex<br>
- [deleted] knepley/fix-is-fortran<br>
- [deleted] knepley/fix-msm-opt<br>
- [deleted] knepley/fix-pc-composite-dm<br>
- [deleted] knepley/fix-pc-msm<br>
- [deleted] knepley/fix-plex-blocksize<br>
- [deleted] knepley/fix-plex-c89<br>
- [deleted] knepley/fix-plex-create-fortran<br>
- [deleted] knepley/fix-plex-distribute-label<br>
- [deleted] knepley/fix-plex-e12-3d<br>
- [deleted] knepley/fix-plex-ex1f90<br>
- [deleted] knepley/fix-plex-examples<br>
- [deleted] knepley/fix-plex-general-interp<br>
- [deleted] knepley/fix-plex-hdf5-label<br>
- [deleted] knepley/fix-plex-l2diff<br>
- [deleted] knepley/fix-plex-natural-mem<br>
- [deleted] knepley/fix-plex-point-location<br>
- [deleted] knepley/fix-plex-pragmatic-marking<br>
- [deleted] knepley/fix-plex-regression<br>
- [deleted] knepley/fix-plex-test-partitions<br>
- [deleted] knepley/fix-quadrature-test<br>
- [deleted] knepley/fix-seterrq-doc<br>
- [deleted] knepley/fix-snes-ex5-mms<br>
- [deleted] knepley/fix-snesqn-fortran<br>
- [deleted] knepley/fix-solkx<br>
- [deleted] knepley/plex-filter<br>
- [deleted] knepley/remove-pbgl<br>
- [deleted] knepley/snes-ex5-mms<br>
- [deleted] knepley/test-asm-empty-subdomain<br>
- [deleted] mark/eigen-rand<br>
- [deleted] mark/gamg-crs<br>
- [deleted] mark/gamg-rand<br>
- [deleted] mesgarnejad/feature-plex-globaltonatural<br>
- [deleted] mlange/fix-plex-fluent-reader<br>
- [deleted] mlange/fix-plex-multi-level-overlap<br>
- [deleted] pefarrell/tao-set-riesz-map<br>
- [deleted] pr263/PierreBdR/ts-domain-error-in-stage/master<br>
- [deleted] pr330/knepley/dmshell-set-create-subdm/master<br>
- [deleted] pr332/master/Fande-Kong/mat-increaseoverlap-scalable<br>
- [deleted] pr345/anriseth/anriseth/ngmres-reset-xm-increase/master<br>
- [deleted] pr349/mapdes/extend_hypre_boomeramg_interface/master<br>
- [deleted] pr352/dmay/pctelescope/master<br>
- [deleted] pr353/dmeiser/fix-ex2_bjacobi-update/master<br>
- [deleted] pr353/dmeiser/fix-ex2_bjacobi/master<br>
- [deleted] pr358/buptphyphy/addmatcreatenormalhermitian/master<br>
- [deleted] pr361/master/Fande-Kong/pcgasm-increaseoverlap<br>
- [deleted] pr369/Fande-Kong/fixed-comment-space/master<br>
- [deleted] pr372/vijaysm/vijaysm/moab_ts_examples_fix/master<br>
- [deleted] pr380/semihozmen/semihozmen/ksp-eigen-comp-bugfix/master<br>
- [deleted] pr384/Fande-Kong/fix-pcgasm-reuse/master<br>
- [deleted] pr388/mapdes/fix-petscsf-create-section-sf/master<br>
- [deleted] pr391/zianekhodja/lilia/tsirm/master<br>
- [deleted] pr394/stevengcj/blassuffix/master<br>
- [deleted] pr395/dmeiser/fix-veccuspgetarraywrite/master<br>
- [deleted] pr401/tferma/virs-pcfieldsplit-fix/master<br>
- [deleted] pr403/pascgeopc/psanan/ksp-pipe-flex/master<br>
- [deleted] pr404/tferma/virs-divergedlinearsolve-fix-rebase/master<br>
- [deleted] pr408/psanan/psanan/pc-bddc-view/master<br>
- [deleted] pr412/psanan/psanan/ksp-cg-separate-singlereduction/master<br>
- [deleted] pr413/scools/siegfriedcools/pipecgrr/master<br>
- [deleted] pr417/adam_qc/fix-tao-ls-view-typo/master<br>
- [deleted] pr421/alex/feature-veccuda<br>
- [deleted] pr426/dmay/dmay/pctelescope-mods/master<br>
- [deleted] pr428/bug-fixes-for-viennaclseqaij<br>
- [deleted] psanan/benchmarks-cleanup<br>
- [deleted] psanan/ksp-fgmres-reduce-alloc<br>
- [deleted] sanderarens/fix-plex-neumann-bc<br>
- [deleted] sarich/check-fcflags-fflags<br>
- [deleted] sarich/feature-tao-pounders-add-correlations<br>
- [deleted] sarich/fix-tao-man-objgrad<br>
- [deleted] sarich/fix-vec-stepbound<br>
- [deleted] sarich/fix-xsdk-packages<br>
- [deleted] sarich/jenkins<br>
- [deleted] shri/add-tsevent-to-powergrid-examples<br>
- [deleted] stefano_zampini/enable-matcreatevecs-without-preallocation<br>
- [deleted] stefano_zampini/feature-fetidp-classes<br>
- [deleted] stefano_zampini/feature-pardiso-schur<br>
- [deleted] stefano_zampini/feature-ptap-seqdense<br>
- [deleted] stefano_zampini/feature-zerorowscolumns-seqdense<br>
- [deleted] stefano_zampini/fix-for-release<br>
- [deleted] stefano_zampini/fix-static-analyzer<br>
- [deleted] stefano_zampini/matis-feature-localtoglobalmap-handling<br>
- [deleted] stefano_zampini/matis-fix-create<br>
- [deleted] stefano_zampini/somefixes-matdense-lda<br>
- [deleted] tisaac/buildCheck-ignore-vc-moaning<br>
- [deleted] tisaac/buildsystem-fix-pic<br>
- [deleted] tisaac/dm-label-promote<br>
- [deleted] tisaac/dm-locate-points-sf<br>
- [deleted] tisaac/dmforest<br>
- [deleted] tisaac/dmp4est-feature-injection<br>
- [deleted] tisaac/dmplex-stable-tet-refinement<br>
- [deleted] tisaac/dt-fix-geom-punning<br>
- [deleted] tisaac/fix-static-analysis-warnings<br>
- [deleted] tisaac/plex-feature-tree-fv<br>
- [deleted] tisaac/plex-fix-ex3-const<br>
- [deleted] tisaac/plex-fix-ex3-failure-message<br>
- [deleted] tisaac/plex-fix-single-prec<br>
- [deleted] tisaac/sf-fix-multi-sf-leaves<br>
- [deleted] tomklotz/feature-tanh-sinh-quadrature<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>