[petsc-dev] git repo branches housekeeping

Balay, Satish balay at mcs.anl.gov
Wed Sep 12 10:26:57 CDT 2018


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.10) 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.10 |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.10 |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/Fixed_SNESTestJacobian_maint
 - [deleted]               Fande-Kong/hypre_mat_type_maint
 - [deleted]               Fande-Kong/partition_weights_maint
 - [deleted]               Fande-Kong/party_distributed
 - [deleted]               adenchfield/tao-bncg-diagonal-scaling
 - [deleted]               balay/add-arm-testbuild/maint
 - [deleted]               balay/add-externalpackage-mirror/maint
 - [deleted]               balay/arm-fix-checkPIC/maint
 - [deleted]               balay/builds-cleantest
 - [deleted]               balay/buildtest-cleanfiles/maint
 - [deleted]               balay/check-bfort-version/maint
 - [deleted]               balay/clean-example-makefile-compile-targets
 - [deleted]               balay/cleanup-vecscatters
 - [deleted]               balay/fix-F90Array__Destroy/maint
 - [deleted]               balay/fix-RM-true
 - [deleted]               balay/fix-analyzer-warning-ex51/maint
 - [deleted]               balay/fix-confusing-configure-dir-options
 - [deleted]               balay/fix-cxx-examples-target/maint
 - [deleted]               balay/fix-ex54f-out/maint
 - [deleted]               balay/fix-examples-timeout/maint
 - [deleted]               balay/fix-f2003-check/maint
 - [deleted]               balay/fix-fftw-check/maint
 - [deleted]               balay/fix-gmake-check/maint
 - [deleted]               balay/fix-ibm-xl-compilers/maint
 - [deleted]               balay/fix-make-check-f90-132limit/maint
 - [deleted]               balay/fix-missing-fortran-PetscComplex/maint
 - [deleted]               balay/fix-missing-mpi_c_double_complex/maint
 - [deleted]               balay/fix-mkl_sparse_detection/maint
 - [deleted]               balay/fix-namespace-wrt-openmpi/maint
 - [deleted]               balay/fix-netcdf-zlib-dep/maint
 - [deleted]               balay/fix-opensolaris-linker-scope-warnings/maint
 - [deleted]               balay/fix-pr879-jczhang-optimize-vecscatter-multi-copy
 - [deleted]               balay/fix-prefix-install-alltests
 - [deleted]               balay/fix-prefix-install-relpath/maint
 - [deleted]               balay/fix-sundials-build-with-openmpi/maint
 - [deleted]               balay/fix-test-parmetis-dep/maint
 - [deleted]               balay/fix-tree-requiresdefine/maint
 - [deleted]               balay/fix-uni-ex/maint
 - [deleted]               balay/fix-use-dsymutil-check/maint
 - [deleted]               balay/fix-vs-memmove-check/maint
 - [deleted]               balay/fix-win-dll-issues/maint
 - [deleted]               balay/jenkins-cleantest
 - [deleted]               balay/jenkins-cleantest-2
 - [deleted]               balay/mswin-fortran-dll
 - [deleted]               balay/remove-Regression.py
 - [deleted]               balay/remove-superlu_mt
 - [deleted]               balay/rename-vec-tut-ex1f-to-F90/maint
 - [deleted]               balay/reorg-tests/maint
 - [deleted]               balay/revert-icc-tgamma-mathimf/maint
 - [deleted]               balay/speedup-download-cmake/maint
 - [deleted]               balay/split-petscdmmod.F/maint
 - [deleted]               balay/switch-matlab-html-doc/maint
 - [deleted]               balay/update-cmake-3.11.1/maint
 - [deleted]               balay/update-fftw-3.3.7
 - [deleted]               balay/update-hdf5-url/maint
 - [deleted]               balay/update-mac-pgi-test/maint
 - [deleted]               balay/update-make-gcc8/maint
 - [deleted]               balay/update-make-l/maint
 - [deleted]               balay/update-petsc4py-3.9.0/maint
 - [deleted]               balay/update-petsc4py-latest
 - [deleted]               balay/update-scotch_6.0.6
 - [deleted]               balay/update-superlu_dist_v5.4.0
 - [deleted]               balay/win-shlib-check/maint
 - [deleted]               balay/workarround-cmake-cxx11/maint
 - [deleted]               barry/CoDiPack
 - [deleted]               barry/add-c-bind-fortran-example
 - [deleted]               barry/add-missing-prototypes/maint
 - [deleted]               barry/add-mpivpbjacobi
 - [deleted]               barry/add-test
 - [deleted]               barry/adios
 - [deleted]               barry/adios2
 - [deleted]               barry/allow-snes-unlimited-function-evaluations
 - [deleted]               barry/always-mpich-enable-error-messages=all
 - [deleted]               barry/bugfix-petscformatconvert
 - [deleted]               barry/change-fortran-null
 - [deleted]               barry/change-fortran-null-fixup
 - [deleted]               barry/clarify-dmplex-documentation
 - [deleted]               barry/critical-point-divide-by-zero/maint
 - [deleted]               barry/dmda-calls-type-check
 - [deleted]               barry/dmdasetblockfillsparse
 - [deleted]               barry/error-if-indefinite-pc-cg
 - [deleted]               barry/feature-3d-dmda-mirror
 - [deleted]               barry/feature-PCVPBJACOBI
 - [deleted]               barry/feature-matlab-socket/maint
 - [deleted]               barry/fix-PetscSNPrintfCount-percentg
 - [deleted]               barry/fix-ex94-tolerances/maint
 - [deleted]               barry/fix-fortran-matsetvaluesblocked/maint
 - [deleted]               barry/fix-gamg-hash-large-ints-maint
 - [deleted]               barry/fix-insanity-netcdf/maint
 - [deleted]               barry/fix-mat-getdiagonal-shell-has-operation
 - [deleted]               barry/fix-mat-new-nonzero-locations/maint
 - [deleted]               barry/fix-mat-subclass-set/maint
 - [deleted]               barry/fix-matgetdiagonal-shell
 - [deleted]               barry/fix-negative-dmda-sizes/maint
 - [deleted]               barry/fix-null-matrix-set-jacobian/maint
 - [deleted]               barry/fix-options-table/maint
 - [deleted]               barry/fix-pardiso/maint
 - [deleted]               barry/fix-pcapplytranspose_asm/maint
 - [deleted]               barry/fix-petscstrlcat/maint
 - [deleted]               barry/fix-richardson-zero-iterations-sor/maint
 - [deleted]               barry/fix-veccreateghostblockwitharray/maint
 - [deleted]               barry/fix-vecgetarrayscatter
 - [deleted]               barry/fix/matmffdsetbase-fortran-null
 - [deleted]               barry/fortran-object-initialize-zero/maint
 - [deleted]               barry/gamghash-cleanup
 - [deleted]               barry/improve-snes_test_jacobian
 - [deleted]               barry/libceed
 - [deleted]               barry/log-nested-begin-fixes/maint
 - [deleted]               barry/matgetownershipis-fortran/maint
 - [deleted]               barry/matlab-mkl-fix/maint
 - [deleted]               barry/monitor-ts-extrem
 - [deleted]               barry/refactor-vecscatter
 - [deleted]               barry/rm-DMDASplitComm2d
 - [deleted]               barry/rm-common-blocks-part-1
 - [deleted]               barry/rm-common-blocks-part-2
 - [deleted]               barry/rm-common-blocks-part-3
 - [deleted]               barry/rm-fshift-error-hack-sor/maint
 - [deleted]               barry/rm-fsolvebaij
 - [deleted]               barry/rm-unneeded-dmda-includes
 - [deleted]               barry/rm-with-errorchecking
 - [deleted]               barry/submansec-moab
 - [deleted]               barry/trim-vecscatter
 - [deleted]               barry/update-petscstrncpy
 - [deleted]               barry/use-chkerrmpi
 - [deleted]               dalcinl/fix-python3/maint
 - [deleted]               dalcinl/options
 - [deleted]               denera/ksp-gltr-memleak-fix
 - [deleted]               denera/lmvm-mat-and-pc
 - [deleted]               denera/lmvm-symbrdn-scale-fix
 - [deleted]               denera/mat-lmvm-sym-bad-brdn
 - [deleted]               denera/mat-lmvm-symbrdn-diag-init
 - [deleted]               denera/petsc-jenkins-junit-xml
 - [deleted]               denera/petsc-jenkins-xml-script-fix
 - [deleted]               denera/petsc-submat-virtual-shift
 - [deleted]               denera/petsc-tao-docs-update
 - [deleted]               denera/tao-blmvm-recycle-missing-example
 - [deleted]               denera/tao-bnk-64bit-index-fix
 - [deleted]               denera/tao-bnk-warning-fixes
 - [deleted]               denera/tao-bounded-newton
 - [deleted]               denera/tao-custom-monitor-bugfix
 - [deleted]               denera/tao-linesearch-monitor
 - [deleted]               denera/tao-merge-pgd-into-bncg
 - [deleted]               denera/tao-separate-quadratic-solvers
 - [deleted]               denera/tao-smonitor-tablevel-fix
 - [deleted]               dmay/dmc-edited-online-with-bitbucket-1533632371795
 - [deleted]               elbueler/snes-ex9-better
 - [deleted]               haplav/feature-dmplex-distributed-hdf5-read
 - [deleted]               haplav/feature-ksplsqr-matnorm-test
 - [deleted]               haplav/fix-and-test-least-squares
 - [deleted]               haplav/fix-isgeneral/maint
 - [deleted]               haplav/plex-throw-error-if-viewer-type-unsupported
 - [deleted]               haplav/testupdate-dmplex-ex5-avoid-chaco
 - [deleted]               hongzh/fix-64bit-knl-build/maint
 - [deleted]               hongzh/fix-hessian-test
 - [deleted]               hongzh/fix-rk-adjoint/maint
 - [deleted]               hongzh/fix-rk-integral/maint
 - [deleted]               hongzh/fix-ts-ex21/maint
 - [deleted]               hongzh/fix-tstraj
 - [deleted]               hongzh/guard-fma-intrinsics/maint
 - [deleted]               hongzh/inverse-initial-value-problem
 - [deleted]               hongzh/rename-bsi
 - [deleted]               hongzh/separate-tssen-from-ts
 - [deleted]               hongzh/symplectic-integrator
 - [deleted]               hongzh/update-dev-notes
 - [deleted]               hzhang/fix-pc-fieldsplit-reuse
 - [deleted]               hzhang/fix-vecscat_mpi3
 - [deleted]               hzhang/fix-vecscatter-mpi3
 - [deleted]               hzhang/mumps-spRHS
 - [deleted]               hzhang/update-example-ts-pipes1
 - [deleted]               jczhang/feature-mumps-omp
 - [deleted]               jczhang/fix-a-typo
 - [deleted]               jczhang/fix-manual-profiling-figs/maint
 - [deleted]               jczhang/fix-perf-log-stage
 - [deleted]               jczhang/fix-pr1022-optimize-vecscatter-with-memcpy
 - [deleted]               jczhang/fix-pr1101-feature-mumps-omp
 - [deleted]               jczhang/fix-sparse-dense-dot-kernels/maint
 - [deleted]               jczhang/optimize-vecscatter-with-memcpy
 - [deleted]               jczhang/test-vecscatter-event-log
 - [deleted]               jed/cholesky-sym
 - [deleted]               jed/config-prefix-install
 - [deleted]               jed/const-XType
 - [deleted]               jed/fix-matdensegetarrayf90/maint
 - [deleted]               jed/fix-mpi-macros/maint
 - [deleted]               jed/gfortran8-strlen-type/maint
 - [deleted]               jed/matsolverpackage-deprecate-stubs/maint
 - [deleted]               jed/mpiuni-include/maint
 - [deleted]               jed/tao-typedef
 - [deleted]               jose/fix-float128
 - [deleted]               jose/fix-petscmath
 - [deleted]               karlrupp/feature-faster-tests
 - [deleted]               karlrupp/feature-test-harness-detailed-timings
 - [deleted]               karlrupp/fix-cuda-complex-builds
 - [deleted]               karlrupp/fix-curl-stderr
 - [deleted]               karlrupp/jenkins-arches
 - [deleted]               knepley/doc-fixed-manpage-for-pcfieldsplitsetsch-1531307070802
 - [deleted]               knepley/feature-configure-ibamr-packages
 - [deleted]               knepley/feature-pc-patch
 - [deleted]               knepley/feature-plex-bdjacobian-single
 - [deleted]               knepley/feature-plex-debugging
 - [deleted]               knepley/feature-plex-elasticity-test
 - [deleted]               knepley/feature-plex-functionals
 - [deleted]               knepley/feature-plex-parallel-submesh
 - [deleted]               knepley/feature-snes-ex13-spectral
 - [deleted]               knepley/fix-dm-gmg
 - [deleted]               knepley/fix-dmfield-surface
 - [deleted]               knepley/fix-ex62-tests
 - [deleted]               knepley/fix-fe-bd-integral
 - [deleted]               knepley/fix-fe-vector-spaces
 - [deleted]               knepley/fix-plex-bd-int
 - [deleted]               knepley/fix-plex-jacobian-action
 - [deleted]               knepley/fix-plex-pointfunc-dim
 - [deleted]               knepley/fix-plex-project-tests
 - [deleted]               knepley/fix-plex-residual-loop
 - [deleted]               knepley/fix-plex-submesh-projection
 - [deleted]               knepley/fix-plex-vtk
 - [deleted]               knepley/fix-section-clone
 - [deleted]               knepley/fix-snes-ex69
 - [deleted]               knepley/fix-superdm-is
 - [deleted]               knepley/petscspace-improved-documentation-for-pe-1536146176280
 - [deleted]               knepley/test
 - [deleted]               mark/bib-new
 - [deleted]               mark/fix-gamg-tests
 - [deleted]               mark/gamg-comment
 - [deleted]               mark/gamg-doc
 - [deleted]               mark/gamg-doc2
 - [deleted]               pr1015/mapdes/plex-partition-balance/master
 - [deleted]               pr1018/minrk/gcc_ext_system_lib/maint
 - [deleted]               pr1042/a_selinger/feature-matmatmult/master
 - [deleted]               pr1055/a_selinger/feature-matsetvalues/master
 - [deleted]               pr1061/a_selinger/feature-faster-scalable-matmatmult/master
 - [deleted]               pr1079/jkruzik/jkruzik/fix-gcov-obj-path/master
 - [deleted]               pr1081/a_selinger/matsetvalues-ptap/master
 - [deleted]               pr1085/mapdes/matnullspacetest-optionsprefix/master
 - [deleted]               pr1086/aselinger/MatTranspose_SeqAIJ_FAST/master
 - [deleted]               pr1095/aselinger/faster_MatTranspose_MPIAIJ/master
 - [deleted]               pr1107/mpigou/fix-configure-error-if-include-directory/master
 - [deleted]               pr1112/prj-/feature-default-boomeramg-smoothers/master
 - [deleted]               pr930/tmijieux/pipelcg-with-shifts-and-precond/master
 - [deleted]               pr935/sepideh/ghosted-X_t/master
 - [deleted]               pr983/al007/examples-stuck-newton/master
 - [deleted]               psanan/39html-edited-online-with-bitbucket-1533285733747
 - [deleted]               psanan/dacreatec-edited-online-with-bitbucket-1530257465014
 - [deleted]               psanan/deprecate-options
 - [deleted]               psanan/deprecate-options-fixes
 - [deleted]               psanan/developerstex-edited-online-with-bitbuck-1533976829212
 - [deleted]               psanan/devmanual-regression-cleanup
 - [deleted]               psanan/dm-compatibility
 - [deleted]               psanan/dmda-compatibility
 - [deleted]               psanan/dmda-deprecate-dmdagetreduceddmda
 - [deleted]               psanan/dmda-rename-reduced
 - [deleted]               psanan/dmda-uniformcoords-check-fix
 - [deleted]               psanan/doc-dmsetcoordinates-manpage-fixes
 - [deleted]               psanan/docs-devmanual-deprecation
 - [deleted]               psanan/docs-handson-ref-update
 - [deleted]               psanan/grvtkc-edited-online-with-bitbucket-1530109267911
 - [deleted]               psanan/makefile-edited-online-with-bitbucket-1528215844762
 - [deleted]               psanan/manpages-notes-newlines
 - [deleted]               psanan/namespace-sr-constants
 - [deleted]               psanan/part1tex-edited-online-with-bitbucket-1532696753342
 - [deleted]               psanan/pc-fieldsplit-detect-interface
 - [deleted]               psanan/petscdmh-edited-online-with-bitbucket-1530109968738
 - [deleted]               psanan/petscdmtypesh-edited-online-with-bitbuck-1529421481118
 - [deleted]               psanan/test-instructions-makefile-name-fix
 - [deleted]               psanan/vtk-viewer-dmda-dof
 - [deleted]               rmills/doc-fix-snesaspin-formatting/maint
 - [deleted]               rmills/feature-add-mataijsell
 - [deleted]               rmills/fix-aijmkl-add-MatPtAP_is_seqaijmkl
 - [deleted]               rmills/fix-aijmkl-comment
 - [deleted]               rmills/fix-aijmkl-deprecated-calls
 - [deleted]               rmills/fix-aijmkl-no_spmv2-mkl-18u2/maint
 - [deleted]               rmills/fix-aijmkl-replace-ifdefs
 - [deleted]               rmills/fix-aijmkl-sypr/maint
 - [deleted]               rmills/fix-aijmkl-unused-variables/maint
 - [deleted]               rmills/fix-aijperm-add-MatPtAP_is_seqaijperm
 - [deleted]               rmills/fix-baijmkl-replace-ifdefs
 - [deleted]               rmills/fix-dm-replace-ifdefs
 - [deleted]               rmills/fix-matsell-no-matconvertbasic/maint
 - [deleted]               rmills/fix-matseqsellsetpreallocation-typo
 - [deleted]               scott/test-harness-perform2
 - [deleted]               stefano_zampini/cherrypick/maint
 - [deleted]               stefano_zampini/feature-fieldsplit-innerkspwithpcksp
 - [deleted]               stefano_zampini/feature-mataij-to-matis
 - [deleted]               stefano_zampini/feature-mataij-to-matis-rebased-final
 - [deleted]               stefano_zampini/feature-matis-ptap-aij
 - [deleted]               stefano_zampini/feature-ptatin3d-support
 - [deleted]               stefano_zampini/feature-simplex2tensor-refinement-hybrid-master
 - [deleted]               stefano_zampini/few-fixes-before-release
 - [deleted]               stefano_zampini/fix-tabs/maint
 - [deleted]               stefano_zampini/fixes-for-maint/maint
 - [deleted]               tisaac/feature-dmfield
 - [deleted]               tisaac/feature-space-tensor
 - [deleted]               tmunson/tao-pounders-bug-fixes
 - [deleted]               tmunson/tao-pounders-matlab-interface



More information about the petsc-dev mailing list