[petsc-dev] git repo branches housekeeping

Satish Balay balay at mcs.anl.gov
Sun Apr 8 01:48:40 CDT 2018


ref: https://lists.mcs.anl.gov/pipermail/petsc-dev/2017-September/021359.html

I've deleted all deveopment branches that are already merged into
maint (v3.9) from https://bitbucket.org/petsc/petsc

However if you wish to remove these branches from your clone - it has
to be done manually (in each clone).

To get this list of branches to delete - you can do:

git branch --merged v3.9 |egrep -v " (maint|master|next)" > branches_to_delete

After *verifying* the list is correct - and ok to delete - they can be
deleted with:

git branch -d `cat branches_to_delete`

And to sync the [deleted] remote branch list info - you can do:

git fetch -p

For more housekeeping - look at the remaining local and remote
branches and figure-out what to do. [perhaps some of them are
intermediate branches during rebase - or abandoned features that
should be deleted]. For my branches - I would do:

git branch
git branch -r |grep balay

Satish

----------------
reference for self:

$ git branch -r --merged v3.9 |egrep  -v origin/\(maint\|master\|next\) |sed -e s%origin/%:% >  remote_branches_to_delete
$ git push -u origin `cat remote_branches_to_delete` | tee delete_branches.log
To bitbucket.org:petsc/petsc.git
 - [deleted]               Fande-Kong/MatResetPreallocation
 - [deleted]               Fande-Kong/get_force_iteration
 - [deleted]               Fande-Kong/remove_SNESHasDM
 - [deleted]               acroucher/fix-fortran-dmlabel-header
 - [deleted]               balay/BLAS_EXTERN
 - [deleted]               balay/add-argdb-type-warning/maint
 - [deleted]               balay/add-dasub-f-interface/maint
 - [deleted]               balay/change-rdict-sync
 - [deleted]               balay/configure-cleanup-link-cmd
 - [deleted]               balay/cuda-cusp-cleanup
 - [deleted]               balay/fix-9bus-ex9busdmnetwork-chkstk-on-windows
 - [deleted]               balay/fix-chkerrq-after-seterrq/maint
 - [deleted]               balay/fix-clang-analyzer-warnings/maint
 - [deleted]               balay/fix-cygwin-ex1f-hang/maint
 - [deleted]               balay/fix-dashboard-time
 - [deleted]               balay/fix-ex51-comm/maint
 - [deleted]               balay/fix-includes-install
 - [deleted]               balay/fix-missing-rdict/maint
 - [deleted]               balay/fix-mkl-batch-error/maint
 - [deleted]               balay/fix-mkl-sparse/maint
 - [deleted]               balay/fix-pip-install-destdir
 - [deleted]               balay/fix-pkg-cflags
 - [deleted]               balay/fix-pkgconfig-lib-order/maint
 - [deleted]               balay/fix-prefix-test
 - [deleted]               balay/fix-slow-help
 - [deleted]               balay/fix-sprintf-warnings/maint
 - [deleted]               balay/fix-uninstall-rm/maint
 - [deleted]               balay/ftn-VIEWER_DRAW/maint
 - [deleted]               balay/knl-test-use-memkind-and-intel-18
 - [deleted]               balay/make-limit-load
 - [deleted]               balay/makefile-cleanup
 - [deleted]               balay/metis-check-64idx/maint
 - [deleted]               balay/mpi-dir-check-warning/maint
 - [deleted]               balay/mpich-3.3a3
 - [deleted]               balay/mpich-3.3b1
 - [deleted]               balay/petsc4py-vecscatter-update
 - [deleted]               balay/prefix-uninstall
 - [deleted]               balay/release-3.9
 - [deleted]               balay/remove-cuda-arch
 - [deleted]               balay/remove-old-regression
 - [deleted]               balay/tests-disable-check_pointer
 - [deleted]               balay/update-hypre-v2.14.0
 - [deleted]               balay/update-make-test-np
 - [deleted]               balay/update-mumps-5.1.2
 - [deleted]               balay/update-openmpi-2.1.2
 - [deleted]               balay/update-openmpi-3.0.1
 - [deleted]               balay/update-petsc4py-pre-39
 - [deleted]               balay/update-superlu_dist-5.3.0
 - [deleted]               balay/update-zoltan-v3.83
 - [deleted]               barry/add-bcaste-log
 - [deleted]               barry/add-f90-matshellgetcontext-example
 - [deleted]               barry/add-fortran-custom-interfaces
 - [deleted]               barry/add-fortran-features
 - [deleted]               barry/add-ftn-linfinity-conv-test
 - [deleted]               barry/all-new-test-harness-branches
 - [deleted]               barry/blaslapack-int-size
 - [deleted]               barry/check-mpi3-features
 - [deleted]               barry/check-no-autodetect-first
 - [deleted]               barry/cleanup-bjacobi
 - [deleted]               barry/cleanup-nightly-test-tools
 - [deleted]               barry/correct-radau5
 - [deleted]               barry/delete-adjoint-trajectory
 - [deleted]               barry/dm-tests-to-new-harness
 - [deleted]               barry/docs-for-nested-xml-log-view
 - [deleted]               barry/download-libmesh
 - [deleted]               barry/feature-MatSNESMFSetReuseBase/maint
 - [deleted]               barry/feature-mg-post-smooth
 - [deleted]               barry/feature-snes-test-jacobian
 - [deleted]               barry/feature-ts-burgers-spectral
 - [deleted]               barry/fix-MatMPIBAIJSetPreallocationCSR
 - [deleted]               barry/fix-batch-blaslapack
 - [deleted]               barry/fix-bin-install
 - [deleted]               barry/fix-complex-sor-dense/maint
 - [deleted]               barry/fix-hypre-struct
 - [deleted]               barry/fix-kspcgls
 - [deleted]               barry/fix-lto_library-option-maint
 - [deleted]               barry/fix-matcreatenest-lawrencemitchell
 - [deleted]               barry/fix-matdensegetarray
 - [deleted]               barry/fix-matmult-seqdense-cherrypick/maint
 - [deleted]               barry/fix-matsettype-forsubclasses
 - [deleted]               barry/fix-matsolvertype
 - [deleted]               barry/fix-no-autodetect-compiler-libraries
 - [deleted]               barry/fix-pastix-interface
 - [deleted]               barry/fix-petscoptions-docs
 - [deleted]               barry/fix-snes-convergence-vi-force
 - [deleted]               barry/fix-ts-view-push-tab
 - [deleted]               barry/fortran-PetscSFBcastBegin
 - [deleted]               barry/fortran-initialize-objects
 - [deleted]               barry/improve-installer
 - [deleted]               barry/ksp/tests-to-new-harness
 - [deleted]               barry/matsolverpackage-matsolvertype
 - [deleted]               barry/more-to-new-test-harness
 - [deleted]               barry/move-to-new-test-harness
 - [deleted]               barry/our-development-tools-are-primative
 - [deleted]               barry/pccomposite-only-propagate-if-not-set
 - [deleted]               barry/refactor-matshell
 - [deleted]               barry/refactor-petscstrncat
 - [deleted]               barry/register-generators
 - [deleted]               barry/remove-mdiag-baij
 - [deleted]               barry/remove-petscdatatype-dmgetworkarray
 - [deleted]               barry/remove-unneeded-use-of-petscdatatype
 - [deleted]               barry/removed-unneeded-mpi-comm-dup-boomeramg
 - [deleted]               barry/scalable-assembly
 - [deleted]               barry/show-load-balance/maint
 - [deleted]               barry/snes-view-display-fd
 - [deleted]               barry/static-analyzer-fix
 - [deleted]               barry/tao-to-new-test-harness
 - [deleted]               barry/test-harnes-vec-tests
 - [deleted]               barry/test-harness-convert-src-dm-examples-tutorials-rebased
 - [deleted]               barry/test-harness-snes-examples-tutorials
 - [deleted]               barry/update-mpi-keyval-create
 - [deleted]               barry/use-mpi-datatype-F90Array
 - [deleted]               barry/utilize-hwloc-rebased-v4
 - [deleted]               barry/vec-to-test-harness
 - [deleted]               bourdin/fix-dm-ex26-memleaks
 - [deleted]               dalcinl/fix-scatter-destroy
 - [deleted]               dalcinl/fix-vecscatter-initpkg
 - [deleted]               dalcinl/mat-getset-ops
 - [deleted]               denera/fix-tablevels-for-views
 - [deleted]               denera/tao-bound-proj-grad
 - [deleted]               denera/tao-bounded-nlcg
 - [deleted]               denera/tao-convergence-check-fix
 - [deleted]               denera/tao-documentation-updates
 - [deleted]               denera/tao-lmvm-info-bugfix
 - [deleted]               denera/tao-lmvm-recycle-bugfixes
 - [deleted]               denera/tao-lmvm-recycling
 - [deleted]               dmay/swarm-example-fixes
 - [deleted]               haplav/fix-PetscSFView-no-graph-set
 - [deleted]               haplav/fix-deadlock-failed-VecLoad
 - [deleted]               haplav/man-build-improve
 - [deleted]               haplav/man-dev-typesetting-testing-chapter
 - [deleted]               haplav/man-remove-run-from-testnames
 - [deleted]               hongzh/add-avx2-matmult-sell
 - [deleted]               hongzh/add-ell-format
 - [deleted]               hongzh/add-tstraj-filename
 - [deleted]               hongzh/change-vecarray-to-mat-tlm
 - [deleted]               hongzh/copy_l2g_stencil
 - [deleted]               hongzh/remove-bitarray-ell
 - [deleted]               hongzh/update-dev
 - [deleted]               hongzh/update-ts-adjoint-api
 - [deleted]               hongzh/vectorize-aij
 - [deleted]               hzhang/fix-Matdup_ptap/maint
 - [deleted]               hzhang/fix-kspex10_zeropivot-master
 - [deleted]               hzhang/fix-submat_samerowdist
 - [deleted]               hzhang/iscoloring-testvalid
 - [deleted]               hzhang/mumps-HermitianCholesky-errflag
 - [deleted]               hzhang/mumps-invA
 - [deleted]               hzhang/opt-mattransposematmult
 - [deleted]               hzhang/opt-ptap
 - [deleted]               hzhang/superlu_dist-fix-nprownpcol
 - [deleted]               hzhang/superlu_dist-matinertia
 - [deleted]               hzhang/superlu_dist-matinertia-fix
 - [deleted]               hzhang/superlu_dist-matinertia-hermitian
 - [deleted]               hzhang/update-mumps-5.1.1-cntl
 - [deleted]               hzhang/vec_node/master-rebased-v2
 - [deleted]               jczhang/fix-missing-macro-backslash
 - [deleted]               jczhang/fix-vecscatter-msg-logging
 - [deleted]               jed/faster-pipelines
 - [deleted]               jed/fix-analyzer-bugs
 - [deleted]               jed/fix-bitbucket-pipelines/maint
 - [deleted]               jed/fix-dmcoarsenhookadd-identical
 - [deleted]               jed/fix-fortran-circular-deps
 - [deleted]               jed/fix-matcreatempibaij/maint
 - [deleted]               jed/fix-stdout-attr-delete
 - [deleted]               jed/fortran-seterr
 - [deleted]               jed/futurize-stage-1
 - [deleted]               jed/gmakefile-paths
 - [deleted]               jed/makeflags-parallel
 - [deleted]               jed/pastix-comm
 - [deleted]               jed/pc-composite-nozero
 - [deleted]               jed/petscvariables-var
 - [deleted]               jed/python3-configure-execlp
 - [deleted]               jed/reproducible-builds
 - [deleted]               jed/simplify-expensive-tests
 - [deleted]               jed/test-mpiexec-timeout
 - [deleted]               jed/tests-cxx-linker
 - [deleted]               jed/update-mpi3-removed-or-deprecated
 - [deleted]               jed/variadic-malloc
 - [deleted]               jed/without-errorchecking-warning
 - [deleted]               jose/cuda-tests
 - [deleted]               jose/fix-vecdestroy-cuda
 - [deleted]               jose/lapack
 - [deleted]               jose/lapack-check
 - [deleted]               jose/lapack-ungqr
 - [deleted]               jose/tikz
 - [deleted]               karlrupp/feature-lazy-cublas-init
 - [deleted]               karlrupp/feature-remove-cusp
 - [deleted]               karlrupp/fix-compiler-warnings-oct2017
 - [deleted]               karlrupp/fix-public-access-cublas-handle
 - [deleted]               karlrupp/fix-tao-examples
 - [deleted]               karlrupp/fix-vpscat-check-overflow
 - [deleted]               knepley/feature-adaptor-plex
 - [deleted]               knepley/feature-ex11-shock-test
 - [deleted]               knepley/feature-med-pkg
 - [deleted]               knepley/feature-plex-adapt-analytic
 - [deleted]               knepley/feature-plex-adjoint-prelim
 - [deleted]               knepley/feature-plex-bd-integration
 - [deleted]               knepley/feature-plex-boxmesh-create
 - [deleted]               knepley/feature-plex-cv-input
 - [deleted]               knepley/feature-plex-exodus-update
 - [deleted]               knepley/feature-plex-parallel-quad
 - [deleted]               knepley/feature-rigid-bodies
 - [deleted]               knepley/feature-subdm-test
 - [deleted]               knepley/feature-ts-plasma-example
 - [deleted]               knepley/feature-xdmf-particles
 - [deleted]               knepley/fix-comm-shared
 - [deleted]               knepley/fix-cylinder-mesh
 - [deleted]               knepley/fix-ds-memleak
 - [deleted]               knepley/fix-hdf5-attribute
 - [deleted]               knepley/fix-l2-projection-submesh
 - [deleted]               knepley/fix-plex-bc-multiple
 - [deleted]               knepley/fix-plex-fvm-adjacency
 - [deleted]               knepley/fix-plex-geometry-3d-init
 - [deleted]               knepley/fix-plex-interpolation-consistency
 - [deleted]               knepley/fix-plex-med-orientation
 - [deleted]               knepley/fix-plex-multifield-eval
 - [deleted]               knepley/fix-plex-proj-ds
 - [deleted]               knepley/fix-plex-spectral-incomplete
 - [deleted]               knepley/fix-snes-destroy-coarsenhook
 - [deleted]               knepley/fix-vec-hdf5-output
 - [deleted]               knepley/test-allow-line-continuation
 - [deleted]               mark/fftw-bug
 - [deleted]               mark/fix-mat
 - [deleted]               mark/fix-mat4
 - [deleted]               mark/gamg-fix-eig-err
 - [deleted]               pefarrell/pccomposite-increment-tab-level
 - [deleted]               pr795/pieter_ghysels/update-strumpack-2.1.0/master
 - [deleted]               pr800/haplav/haplav/feature-dmplex-ex5-set-partitioner-from-options/master
 - [deleted]               pr803/acroucher/acroucher/fix-IS-global-to-local-mapping-block/master
 - [deleted]               pr816/psanan/psanan/dmda-remove-old-loop/master
 - [deleted]               pr817/mlohry/marklohry/pbjacobi-arbitrary-blocksize/master
 - [deleted]               pr830/haplav/haplav/feature-plex-more-tests-ex18/master
 - [deleted]               pr831/eaulisa/eugeno-fixs-asm-multiplicative/master
 - [deleted]               pr838/haplav/haplav/feature-petscpartitionermatpartitioning-rb/master
 - [deleted]               pr862/dkokron/IntelIntrinsicsForBAIJ9by9MDotMaxpy/maint
 - [deleted]               pr863/bourdin/bourdin/dmplex-exodusiiView/master
 - [deleted]               pr865/scools/pipelcg/master
 - [deleted]               pr871/acroucher/acroucher/dmplex-hdf5-vecview/master
 - [deleted]               pr872/bourdin/dmplex-GlobalToNatural/master
 - [deleted]               pr874/mapdes/pcmg-inject/master
 - [deleted]               pr883/jkruzik/fix-PetscBinarySynchronizedRead/maint
 - [deleted]               pr902/jkruzik/feature-MatCreateMPIMatConcatenateSeqMat_Dense/master
 - [deleted]               psanan/dmda-mappings-typecheck-fixes
 - [deleted]               psanan/dmswarm-namespacing
 - [deleted]               psanan/doc-manimplementations-fix
 - [deleted]               psanan/docs-devmanual-copyedit
 - [deleted]               psanan/fgmres-norm-none-support
 - [deleted]               psanan/manpages-implementations
 - [deleted]               rmills/aijmkl-lazy-inspection
 - [deleted]               rmills/doc-add-rmills-to-user-manual
 - [deleted]               rmills/doc-fix-kspcgne-typo
 - [deleted]               rmills/doc-fix-pcgamg-indent
 - [deleted]               rmills/doc-fix-snesvinewtonrsls-formatting
 - [deleted]               rmills/doc-rmills-performance-section-minor-edit
 - [deleted]               rmills/doc-update-matcreateseqaijmkl-man-page
 - [deleted]               rmills/feature-aijmkl-add-matmatmultnumeric
 - [deleted]               rmills/feature-aijmkl-add-matptap-symmetric
 - [deleted]               rmills/feature-aijmkl-matmatmult
 - [deleted]               rmills/feature-buildsystem-mkl_sparse_sp2m
 - [deleted]               rmills/fix-aijmkl-style
 - [deleted]               rmills/fix-aijmkl-use-petscobjectstate
 - [deleted]               rmills/fix-mpisell-matconvert
 - [deleted]               rmills/fix-remove-knl-compiler-workaround
 - [deleted]               rmills/fix-rename-csrperm-files
 - [deleted]               rmills/vectorize-aij-avx512-only
 - [deleted]               rmills/webpage-add-rmills
 - [deleted]               scott/ksp-ksp-tutorials
 - [deleted]               scott/test-harness-emacsfixes
 - [deleted]               scott/test-harness-fixtestparse
 - [deleted]               scott/test-harness-improve2
 - [deleted]               scott/test-harness-installfixes
 - [deleted]               scott/test-harness-installtest
 - [deleted]               scott/test-harness-minorfixes
 - [deleted]               scott/test-harness-minorfixes2
 - [deleted]               scott/test-harness-report_tests_fix
 - [deleted]               scott/test-harness-timing
 - [deleted]               scott/test-harness-timing2
 - [deleted]               scott/test-harness-walkerfix
 - [deleted]               shri/dmnetwork-subnetworks-rebased
 - [deleted]               stefano_zampini/add-fetidp-example-ex69
 - [deleted]               stefano_zampini/add-pod-test
 - [deleted]               stefano_zampini/cherrypick-commits-for-maint-from-continuousadjoint
 - [deleted]               stefano_zampini/example-bddc-3levels
 - [deleted]               stefano_zampini/feature-dmda-matis
 - [deleted]               stefano_zampini/feature-factor-sell
 - [deleted]               stefano_zampini/feature-glvis-homesh-periodic
 - [deleted]               stefano_zampini/feature-glvis-supportdmcomposite
 - [deleted]               stefano_zampini/few-bugfixes
 - [deleted]               stefano_zampini/fix-dmdasetfields
 - [deleted]               stefano_zampini/fix-matis-dmda-l2g
 - [deleted]               stefano_zampini/fix-missing-conversionops-matnest
 - [deleted]               stefano_zampini/fix-missing-locks-tao
 - [deleted]               stefano_zampini/last-leftovers-from-continuousadjoint
 - [deleted]               stefano_zampini/optimize-tsadjointstep-rk
 - [deleted]               tisaac/fix-fvm-dual-space-apply
 - [deleted]               tisaac/fix-p4est-precision
 - [deleted]               tmunson/tao-convert-tests
 - [deleted]               tmunson/tao-pounders-add-tests
 - [deleted]               tristan/mat-invert-block-diagonal-mat


More information about the petsc-dev mailing list