.bashrc
changeset 945 d9232a82c55a
parent 937 a2beae97e3d8
child 946 6ac846c89561
--- a/.bashrc	Tue Aug 25 10:15:42 2020 +0300
+++ b/.bashrc	Wed Sep 09 00:30:54 2020 +0300
@@ -281,3 +281,10 @@
   GIT_COMMITTER_DATE="$1" git commit --amend --no-edit --date "$1"
 }
 
+# https://stackoverflow.com/questions/63794347/find-every-decoration-after-given-git-commit
+mygit-descendants() {
+  git log --graph --decorate --oneline  --simplify-by-decoration ^"$1" $(
+    git branch --all --contains "$1" --format '%(objectname)';
+    git tag --contains "$1" --format '%(objectname)';
+      );
+}