[petsc-dev] git repo branches housekeeping

Balay, Satish balay at mcs.anl.gov
Fri Mar 29 11:21:38 CDT 2019


ref: https://lists.mcs.anl.gov/pipermail/petsc-dev/2018-April/022748.html

I've deleted all development branches that are already merged into
maint (v3.11) 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.11 |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

[Also might want to check 'git help gc' for 'git gc --prune']

Satish

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

$ git branch -r --merged v3.11 |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/feature-retrieve-sol-and-step-norms-snes
 - [deleted]               Fande-Kong/feature-support-domainerror-in-compute-jacobian
 - [deleted]               Fande-Kong/fix_complete_print_option
 - [deleted]               Fande-Kong/fix_complete_print_option_maint
 - [deleted]               Fande-Kong/fixed_PtAP
 - [deleted]               Fande-Kong/fixed_hierarchical_partitioning_weights_master
 - [deleted]               Fande-Kong/fixed_mpi_hanging_MatCreateSubMatrices_MPIAdj
 - [deleted]               Fande-Kong/fixed_ptap_hypre_maint
 - [deleted]               Fande-Kong/fixed_ptscoth_segfault
 - [deleted]               Fande-Kong/generalize_hierarchical_partitioning_maint
 - [deleted]               balay/add-adblaslapack-test
 - [deleted]               balay/add-sowing-win-g++-check/maint
 - [deleted]               balay/add/jenkins-linux-pkgs-test
 - [deleted]               balay/avoid--Llib64/maint
 - [deleted]               balay/avoid-fstack-protector-with-brew-gcc/maint
 - [deleted]               balay/cleanup-ksp-f90-mod/maint
 - [deleted]               balay/configure_accept_en_dash/maint
 - [deleted]               balay/cusp-cleanup
 - [deleted]               balay/elemental-gcc8/maint
 - [deleted]               balay/faster-test-suite
 - [deleted]               balay/fix-DMLabel-object-type
 - [deleted]               balay/fix-analyzer-dead-assignment
 - [deleted]               balay/fix-clean-with-prefix/maint
 - [deleted]               balay/fix-deprecation-warning/maint
 - [deleted]               balay/fix-download-slepc/maint
 - [deleted]               balay/fix-etags-in-tarball
 - [deleted]               balay/fix-ifort-mpiuni/maint
 - [deleted]               balay/fix-localpath-giturl/maint
 - [deleted]               balay/fix-make-reconfigure/maint
 - [deleted]               balay/fix-missing-AIJMKL-interface/maint
 - [deleted]               balay/fix-mumps-gf8/maint
 - [deleted]               balay/fix-osx-install-from-tmp/maint
 - [deleted]               balay/fix-package-build-dir/maint
 - [deleted]               balay/fix-pastix-bad-prefix/maint
 - [deleted]               balay/fix-ptscotch-tarball/maint
 - [deleted]               balay/fix-superlu_dist_mpi_search/maint
 - [deleted]               balay/fix-u1804-gcc-warnings/maint
 - [deleted]               balay/fix-with-pkg-dir/maint
 - [deleted]               balay/fix-xcode10-regression/maint
 - [deleted]               balay/jenkins-python3-test/maint
 - [deleted]               balay/ksppipe-doc-update/maint
 - [deleted]               balay/metis-add-doubleprecision-option/maint
 - [deleted]               balay/mpicc-mpiicpc-with-mpi-dir/maint
 - [deleted]               balay/osx-ctags-disable-verbose
 - [deleted]               balay/p4est-add-zlib-dep/maint
 - [deleted]               balay/reset-ISLocalToGlobalMappingRegisterAllCalled/maint-3.8
 - [deleted]               balay/revert_vecscatterremap_/maint
 - [deleted]               balay/scalapack-openmpi-4/maint
 - [deleted]               balay/update-saws-python3
 - [deleted]               balay/update-slepc-petsc4py
 - [deleted]               balay/with-package-script
 - [deleted]               balay/xcode-warning-text-based-stub/maint
 - [deleted]               barry/add-chkerrq-after-petscoptionsend
 - [deleted]               barry/add-nonlinearsolvertable-links
 - [deleted]               barry/add-options-example
 - [deleted]               barry/add-pcfieldsplit-getis/maint
 - [deleted]               barry/check-package-64bitblas
 - [deleted]               barry/cleanout-old-test-harness
 - [deleted]               barry/cleanup-dead-code
 - [deleted]               barry/cleanup-tutorials-1
 - [deleted]               barry/deprecate-ts-final-time
 - [deleted]               barry/feature-dmda1d-periodic-fill
 - [deleted]               barry/feature-options-associated-with-object
 - [deleted]               barry/fix-aomemscalable-negative-indices-maint
 - [deleted]               barry/fix-check-ierr-before-freechar/maint
 - [deleted]               barry/fix-chkerrq-petscinitialize
 - [deleted]               barry/fix-fortran-petscfileviewersetname
 - [deleted]               barry/fix-mat-ex152
 - [deleted]               barry/fix-memory-leak-matload-mpidense
 - [deleted]               barry/fix-null-argument-fortran-interfaces/master
 - [deleted]               barry/fix-petsc-null-fortran/maint
 - [deleted]               barry/fix-picard-precheck-changed/maint
 - [deleted]               barry/fix-richardson-nullspace/maint
 - [deleted]               barry/fix-to-use-memcpy/maint
 - [deleted]               barry/fix-todo
 - [deleted]               barry/fix-todo-fortran
 - [deleted]               barry/fix-trivial-format-issue/maint
 - [deleted]               barry/fix-vec-example
 - [deleted]               barry/fix-xxxregister-memory-leaks/maint
 - [deleted]               barry/have-veccuda-to-have-cuda
 - [deleted]               barry/improve-error-propagation-ksp-pc
 - [deleted]               barry/improve-manual
 - [deleted]               barry/improve-matshift-seqaij
 - [deleted]               barry/matregisterbasename-to-matregisterrootname
 - [deleted]               barry/missing-localrunfiles
 - [deleted]               barry/mpiaijcusparse-better-subclass-mpiaij
 - [deleted]               barry/picard-precheck-inf-scaling/maint
 - [deleted]               barry/propogate-ksperrorifnotconverged
 - [deleted]               barry/refactor-vecscatter-2
 - [deleted]               barry/remove-mpi-handler-function/maint
 - [deleted]               barry/rm-outdated-requires
 - [deleted]               barry/rm-snestest-leftovers
 - [deleted]               barry/seqaijcusparse-better-subclass-seqaij
 - [deleted]               barry/split-baij-files/maint
 - [deleted]               barry/split-mod-files/maint
 - [deleted]               barry/ts-control-delay-in-increasing-timestep
 - [deleted]               barry/use-complex-for-mffd
 - [deleted]               basvanthof/feature-log-xml-reduction
 - [deleted]               branch/barry-petsc-object-get-options
 - [deleted]               cmg43/feature-scalable-partition
 - [deleted]               denera/tao-brgn-matlab-segfault-fix
 - [deleted]               denera/tao-doc-panda-fixes
 - [deleted]               denera/tao-gauss-newton-wrapper
 - [deleted]               denera/tao-manual-pages-updates
 - [deleted]               denera/tao-nls-ntr-ksp-tag-fix
 - [deleted]               denera/tao-residual-setter-fix
 - [deleted]               dmay/Petscgetline-bugfix
 - [deleted]               dmay/feature-telescope-dmcoarse/next
 - [deleted]               dmay/manpage-fix-DMDAGetSetFieldNames/maint
 - [deleted]               haplav/drop-support-hdf5-older-than-1.8.0
 - [deleted]               haplav/feature-dmplex-check-interface-cone-conformance
 - [deleted]               haplav/feature-dmplex-test-ex18-generalizations
 - [deleted]               haplav/feature-hdf5-improve-attribute-io
 - [deleted]               haplav/feature-mataij-load-from-hdf5
 - [deleted]               haplav/feature-petsc-viewer-format-hdf5-mat
 - [deleted]               haplav/feature-plex-some-hdf5-xdmf-generalizations
 - [deleted]               haplav/feature-sf-multiroot-orig-indices
 - [deleted]               haplav/feature-viewer-check-readable-writable
 - [deleted]               haplav/fix-cray-warnings
 - [deleted]               haplav/fix-dmload-plex-fail-for-unsupported-format
 - [deleted]               haplav/fix-doc-PetscObjectPrintClassNamePrefixType
 - [deleted]               haplav/fix-guard-MatlabEnginePut_SeqAIJ
 - [deleted]               haplav/fix-matpartitioningview-hierarch
 - [deleted]               haplav/fix-minor-plex-load-hdf5-xdmf
 - [deleted]               haplav/fix-petscdatatype
 - [deleted]               haplav/fix-petscsection-fortran-stubs
 - [deleted]               haplav/fix-petscviewerhdf5writeattribute-for-existing-attribute
 - [deleted]               haplav/fix-plex-interpolate-interface-cones
 - [deleted]               haplav/fix-plex-tests-exodus+complex
 - [deleted]               haplav/fix-plex-tut-ex1f90-64idx
 - [deleted]               haplav/fix-plexexodusii-real-vs-scalar
 - [deleted]               haplav/fix-sf-multiroot-orig-indices
 - [deleted]               haplav/fix-vec-tut-ex19-requires
 - [deleted]               haplav/fix-viewer-hdf5-dont-create-group-when-reading
 - [deleted]               haplav/maint/fix-cray-warnings
 - [deleted]               haplav/petscviewerh-edited-online-with-bitbucke-1542710245415
 - [deleted]               haplav/plexdistribute-fix-doc-collectiveness
 - [deleted]               haplav/prizeshtml-edited-online-with-bitbucket-1548851461742
 - [deleted]               haplav/reduce-test-output-plex-tutorials-ex5_new_dm_view
 - [deleted]               haplav/refactor-vecload-hdf5
 - [deleted]               hongzh/improve-ex72-matrixmarket
 - [deleted]               hzhang/add-matshell-example
 - [deleted]               hzhang/dmplex/ex18-add-1d
 - [deleted]               hzhang/fix-matview-duplicate-product
 - [deleted]               hzhang/fix-submats-memleak/maint
 - [deleted]               hzhang/fix-vecsetvalues-error/maint
 - [deleted]               hzhang/matduplicate-for-matproduct
 - [deleted]               hzhang/matptap-noreuse
 - [deleted]               hzhang/superlu_dist-rm-globalmode
 - [deleted]               jczhang/add-VecRestoreArrayRead_Nest
 - [deleted]               jczhang/fix-mumps-tests-require-double
 - [deleted]               jczhang/fix-pr1377-vecscat-arg-requirement
 - [deleted]               jczhang/fix-pr1396
 - [deleted]               jczhang/fix-vecscat-arg-requirement
 - [deleted]               jczhang/fix-vecscat-with-different-blocksize
 - [deleted]               jczhang/fix-vecscatter-cuda/maint
 - [deleted]               jczhang/fix-vecscattercreate-api
 - [deleted]               jczhang/restore-error-check
 - [deleted]               jczhang/update-openblas-0.3.3
 - [deleted]               jczhang/vecscat-add-opts
 - [deleted]               jczhang/vecscat-in-sf
 - [deleted]               jed/ascii-filter
 - [deleted]               jed/check-pointer-nosigaction/maint
 - [deleted]               jed/doc-xsetdm
 - [deleted]               jed/fix-dmplexdistribute-fortran
 - [deleted]               jed/fix-matconvert-shell/maint
 - [deleted]               jed/fix-moddir-testmoddir/maint
 - [deleted]               jed/fix-vecstash-blocked/maint-3.8
 - [deleted]               jed/gen-xdmf-py3
 - [deleted]               jed/gmakefile.test-path/maint
 - [deleted]               jed/pkgconfig-prefix/maint
 - [deleted]               jed/python3-futurize
 - [deleted]               jed/snes-ksp-its/maint
 - [deleted]               jed/superlu-dist-openmpi-4/maint
 - [deleted]               joe/adolc-corrections
 - [deleted]               joe/adolc-examples
 - [deleted]               jose/cuda-duplicate/maint
 - [deleted]               karlrupp/feature-code-of-conduct
 - [deleted]               knepley/added-freefem-to-list-of-packages-using--1543684801843
 - [deleted]               knepley/can-always-get-a-line-search-by-composin-1553038229428
 - [deleted]               knepley/doc-added-seealso-for-pair-of-functions-1550777000537
 - [deleted]               knepley/feature-dm-bc-update
 - [deleted]               knepley/feature-dm-nearnullspace
 - [deleted]               knepley/feature-ds-hybrid
 - [deleted]               knepley/feature-error-logging
 - [deleted]               knepley/feature-expose-section-subdm
 - [deleted]               knepley/feature-ksp-ex10-transpose
 - [deleted]               knepley/feature-label-bounds
 - [deleted]               knepley/feature-label-object
 - [deleted]               knepley/feature-move-adj-to-dm
 - [deleted]               knepley/feature-multiple-ds
 - [deleted]               knepley/feature-partitioner-viewer
 - [deleted]               knepley/feature-plex-box-bounds-opt
 - [deleted]               knepley/feature-plex-check-options
 - [deleted]               knepley/feature-plex-label-viz
 - [deleted]               knepley/feature-plex-parallel-periodic-viz
 - [deleted]               knepley/feature-pragmatic-configure
 - [deleted]               knepley/feature-section-field-major
 - [deleted]               knepley/feature-section-label
 - [deleted]               knepley/feature-snes-patch
 - [deleted]               knepley/feature-triangle-64int
 - [deleted]               knepley/fix-configure-exodusii
 - [deleted]               knepley/fix-distribute-check
 - [deleted]               knepley/fix-dm-naturaltoglobal-doc
 - [deleted]               knepley/fix-dmfield-error-message
 - [deleted]               knepley/fix-dminterpolation-docs
 - [deleted]               knepley/fix-dmplex-fortran
 - [deleted]               knepley/fix-ds-init
 - [deleted]               knepley/fix-fe-facegeom
 - [deleted]               knepley/fix-fe-names
 - [deleted]               knepley/fix-fieldsplit-options-processing
 - [deleted]               knepley/fix-mat-refactor
 - [deleted]               knepley/fix-pardiso-64bit
 - [deleted]               knepley/fix-pc-types-header
 - [deleted]               knepley/fix-plex-aux-integrate
 - [deleted]               knepley/fix-plex-bd-tests
 - [deleted]               knepley/fix-plex-fortran-bindings
 - [deleted]               knepley/fix-plex-interpolate-sf-new1
 - [deleted]               knepley/fix-plex-partition-parallel
 - [deleted]               knepley/fix-plex-refine-allocation
 - [deleted]               knepley/fix-plex-reorder-setup
 - [deleted]               knepley/fix-section-fortran
 - [deleted]               knepley/fix-subdm-check
 - [deleted]               knepley/fix-surface-integration
 - [deleted]               knepley/just-plain-wrong-mangiling-1550927769238
 - [deleted]               knepley/makefile-edited-online-with-bitbucket-1552057209668
 - [deleted]               knepley/p4est-needs-extra-function-pointers-1552075042358
 - [deleted]               knepley/plexdoc-better-docs-for-dmplexcreatehybr-1545314385890
 - [deleted]               pefarrell/fieldsplit-whitelist-ksp-max-its
 - [deleted]               pefarrell/fix-gmres-refinement-doc
 - [deleted]               pefarrell/vanka-exclude-subspaces
 - [deleted]               pr1144/a_selinger/feature-rowmerge-matmatmult
 - [deleted]               pr1149/m.diehl/more-modern-fortran-interfaces/master
 - [deleted]               pr1161/pieter_ghysels/STRUMPACKupdate/master
 - [deleted]               pr1170/kaushikggg/fix-viennacl-multiple-copy-mdot/master
 - [deleted]               pr1183/kruse/fieldsplit-golubkahan/master
 - [deleted]               pr1187/feature-MatHermitianTransposeGetMat/master
 - [deleted]               pr1188/prj-/fix-replace-VecWAXPY/master
 - [deleted]               pr1193/anfink/fix-const-blas/master
 - [deleted]               pr1195/lm/fix-pcpatch-section-fields/master
 - [deleted]               pr1204/jpusztay/feature-swarm-example/master
 - [deleted]               pr1206/arcowie-rem/feature-error-logging/master
 - [deleted]               pr1210/francesco_ballarin/python3-string/master
 - [deleted]               pr1213/francesco_ballarin/argCB-binary/master
 - [deleted]               pr1215/cmg43/feature-scalable-partition/master
 - [deleted]               pr1216/tristankonolie/docs_plex_natural/master
 - [deleted]               pr1235/florianwechsung/pcpatch-partition-of-unity/master
 - [deleted]               pr1238/tkonolige/propagate_fieldsplit_subksp_errors/maint
 - [deleted]               pr1245/fw/fix-pcpatch-bugfix/master
 - [deleted]               pr1260/pr-/fix-pcpbjacobi-flop-count/master
 - [deleted]               pr1272/tristankonolie/check_convergence_gkb/master
 - [deleted]               pr1276/tristankonolie/fix_complex_c_cpp/maint
 - [deleted]               pr1287/jpusztay/feature-splitts-subts-dm-inheritance/master
 - [deleted]               pr1295/prj-/feature-mataxpy-matnest/master
 - [deleted]               pr1305/prj-/update-hypre-matrix-initialization/master
 - [deleted]               pr1320/GregDMeyer/cuda_version_check/master
 - [deleted]               pr1345/mpecha/feature-mat-diagonal-set-shell-support-insert-values
 - [deleted]               pr1351/m_diehl/m.diehl/more-fortran-interfaces-and-examples/master
 - [deleted]               pr1353/jpusztay/feature-swarm-symplectic-example/master
 - [deleted]               pr1362/jkruzik/fix-tests-srcdir/maint
 - [deleted]               pr1370/shri/tsevent/postevent-step/master
 - [deleted]               pr1374/jkruzik/fix-tests-prefix-confdir/master
 - [deleted]               pr1398/tristankonolige/ksp_diagonal_scale_preonly/master
 - [deleted]               pr1399/tristankonolige/ksp_view_diagonal_scale/master
 - [deleted]               pr1417/wence/feature-patch-all-at-once/master
 - [deleted]               pr1456/marius/MPICreateSubMatricesMPI_fortran_interface/master
 - [deleted]               pr1459/wence/fix/snes-patch-zero-matrix/master
 - [deleted]               psanan/deprecation-warning-format-fix
 - [deleted]               psanan/dev-manual-collectivity-clarify
 - [deleted]               psanan/dm-l2g-singlecall
 - [deleted]               psanan/dmda-man-page-remove-dmdagetsize
 - [deleted]               psanan/dmstag
 - [deleted]               psanan/dmstag-ex4-fix
 - [deleted]               psanan/dmstag-ex4-fix-2
 - [deleted]               psanan/dmstag-fixes
 - [deleted]               psanan/dmstag-noninjective-scatter-error-improve
 - [deleted]               psanan/dmstag-stencil-none-fix
 - [deleted]               psanan/docs-manpage-generation-fixes
 - [deleted]               psanan/errc-edited-online-with-bitbucket-1548950066052
 - [deleted]               psanan/fix-error-code-numbering-comments
 - [deleted]               psanan/matrixc-edited-online-with-bitbucket-1551438758300
 - [deleted]               psanan/stag2dc-edited-online-with-bitbucket-1549376921759
 - [deleted]               psanan/stagstencilc-edited-online-with-bitbucke-1551275258980
 - [deleted]               rmills/fix-ex12-runtype-option/maint
 - [deleted]               rmills/refactor-mkl-sparse-optimize-configure/maint
 - [deleted]               scott/fix-forloops
 - [deleted]               scott/fix-subtest-args
 - [deleted]               scott/testharness-misc
 - [deleted]               stefano_zampini/cherrypick-from-continuous-adjoint
 - [deleted]               stefano_zampini/configure-frontendcompiler-mfem
 - [deleted]               stefano_zampini/feature-download-glvis-mfem
 - [deleted]               stefano_zampini/feature-gmakegen-pkgs
 - [deleted]               stefano_zampini/feature-pcbddc-enablelor
 - [deleted]               stefano_zampini/fix-intern
 - [deleted]               stefano_zampini/fix-leaks-kspviewers
 - [deleted]               stefano_zampini/fix-matmulttranposeadd-shell-maint
 - [deleted]               stefano_zampini/fix-newtontr
 - [deleted]               stefano_zampini/fix-p4est-squashed
 - [deleted]               stefano_zampini/fix-pcksp-fetidp-maint
 - [deleted]               stefano_zampini/fix-preprocessors-guards
 - [deleted]               stefano_zampini/fix-tao-update-ctx
 - [deleted]               stefano_zampini/fix-tsevent
 - [deleted]               stefano_zampini/fix-vtk-vecview-periodic
 - [deleted]               stefano_zampini/petscsystypes
 - [deleted]               stefano_zampini/revert-matnorm-basic
 - [deleted]               stefano_zampini/weakly-symmetric-elasticity-rebased
 - [deleted]               tisaac/feature-matmattranspose
 - [deleted]               tisaac/feature-remove-mpi-ub
 - [deleted]               tisaac/feature-tao-shell
 - [deleted]               xhuang/tao-feature-L1
 - [deleted]               xhuang/tao-feature-L1-bugfix


More information about the petsc-dev mailing list