Skip to content

Instantly share code, notes, and snippets.

@kenahoo
Created August 28, 2018 01:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenahoo/99a16f2afcd274ebafad9e318a1ff90d to your computer and use it in GitHub Desktop.
Save kenahoo/99a16f2afcd274ebafad9e318a1ff90d to your computer and use it in GitHub Desktop.
% GIT_TRACE=1 GIT_SEQUENCE_EDITOR='perl -pi -e "s/^keep/reword/m"' GIT_EDITOR='perl -pi -e "s/BB-123/BB-456/g"' git rebase -i develop
20:17:44.091418 git.c:576 trace: exec: 'git-rebase' '-i' 'develop'
20:17:44.092305 run-command.c:626 trace: run_command: 'git-rebase' '-i' 'develop'
20:17:44.108977 git.c:344 trace: built-in: git 'rev-parse' '--parseopt' '--stuck-long' '--' '-i' 'develop'
20:17:44.120449 git.c:344 trace: built-in: git 'rev-parse' '--git-dir'
20:17:44.127989 git.c:344 trace: built-in: git 'rev-parse' '--git-path' 'objects'
20:17:44.133395 git.c:344 trace: built-in: git 'rev-parse' '--is-bare-repository'
20:17:44.144873 git.c:344 trace: built-in: git 'rev-parse' '--show-toplevel'
20:17:44.153359 git.c:344 trace: built-in: git 'config' '--bool' 'rebase.stat'
20:17:44.159078 git.c:344 trace: built-in: git 'config' '--bool' 'rebase.autostash'
20:17:44.164368 git.c:344 trace: built-in: git 'config' '--bool' 'rebase.autosquash'
20:17:44.169332 git.c:344 trace: built-in: git 'config' '--bool' 'commit.gpgsign'
20:17:44.177121 git.c:344 trace: built-in: git 'rev-parse' '--verify' 'develop^0'
20:17:44.184116 git.c:344 trace: built-in: git 'rev-parse' '--verify' 'develop^0'
20:17:44.197722 git.c:344 trace: built-in: git 'symbolic-ref' '-q' 'HEAD'
20:17:44.206401 git.c:344 trace: built-in: git 'rev-parse' '--verify' 'HEAD'
20:17:44.212867 git.c:344 trace: built-in: git 'rev-parse' '--verify' 'HEAD'
20:17:44.218583 git.c:344 trace: built-in: git 'update-index' '-q' '--ignore-submodules' '--refresh'
20:17:44.225642 git.c:344 trace: built-in: git 'diff-files' '--quiet' '--ignore-submodules'
20:17:44.231242 git.c:344 trace: built-in: git 'diff-index' '--cached' '--quiet' '--ignore-submodules' 'HEAD' '--'
20:17:44.242910 git.c:344 trace: built-in: git 'merge-base' 'd36d1d24eeb423fa69e73fba36c5d446f37710d0' '6fbc68f37af3b07afb8215d02d72291cf3505c9e'
20:17:44.253613 git.c:344 trace: built-in: git 'rev-parse' '--git-path' 'hooks/pre-rebase'
20:17:44.276937 git.c:344 trace: built-in: git 'rev-parse' '--verify' 'HEAD'
20:17:44.295539 git.c:344 trace: built-in: git 'rev-parse' '--short' '6fbc68f37af3b07afb8215d02d72291cf3505c9e'
20:17:44.303553 git.c:344 trace: built-in: git 'rev-parse' '--short' 'd36d1d24eeb423fa69e73fba36c5d446f37710d0'
20:17:44.309965 git.c:344 trace: built-in: git 'rev-parse' '--short' 'd36d1d24eeb423fa69e73fba36c5d446f37710d0'
20:17:44.316372 git.c:344 trace: built-in: git 'rebase--helper' '--make-script' 'd36d1d24eeb423fa69e73fba36c5d446f37710d0...6fbc68f37af3b07afb8215d02d72291cf3505c9e'
20:17:44.325824 git.c:344 trace: built-in: git 'stripspace' '--strip-comments'
20:17:44.336283 git.c:576 trace: exec: 'git-sh-i18n--envsubst' '--variables' 'Rebase $shortrevisions onto $shortonto ($todocount commands)'
20:17:44.338142 run-command.c:626 trace: run_command: 'git-sh-i18n--envsubst' '--variables' 'Rebase $shortrevisions onto $shortonto ($todocount commands)'
20:17:44.351821 git.c:576 trace: exec: 'git-sh-i18n--envsubst' 'Rebase $shortrevisions onto $shortonto ($todocount commands)'
20:17:44.352619 run-command.c:626 trace: run_command: 'git-sh-i18n--envsubst' 'Rebase $shortrevisions onto $shortonto ($todocount commands)'
20:17:44.364267 git.c:344 trace: built-in: git 'stripspace' '--comment-lines'
20:17:44.371642 git.c:344 trace: built-in: git 'config' '--get' 'rebase.missingCommitsCheck'
20:17:44.384009 git.c:344 trace: built-in: git 'stripspace' '--comment-lines'
20:17:44.395998 git.c:344 trace: built-in: git 'stripspace' '--comment-lines'
20:17:44.405135 git.c:344 trace: built-in: git 'stripspace' '--strip-comments'
20:17:44.414905 git.c:344 trace: built-in: git 'rebase--helper' '--shorten-ids'
20:17:44.467601 git.c:344 trace: built-in: git 'stripspace' '--strip-comments'
20:17:44.472432 git.c:344 trace: built-in: git 'rebase--helper' '--check-todo-list'
20:17:44.480123 git.c:344 trace: built-in: git 'rebase--helper' '--expand-ids'
20:17:44.489724 git.c:344 trace: built-in: git 'rebase--helper' '--skip-unnecessary-picks'
20:17:44.512570 git.c:344 trace: built-in: git 'update-ref' 'ORIG_HEAD' '6fbc68f37af3b07afb8215d02d72291cf3505c9e'
20:17:44.518273 git.c:344 trace: built-in: git 'rev-parse' '--verify' 'HEAD'
20:17:44.522745 git.c:344 trace: built-in: git 'update-index' '-q' '--ignore-submodules' '--refresh'
20:17:44.527545 git.c:344 trace: built-in: git 'diff-files' '--quiet' '--ignore-submodules'
20:17:44.532062 git.c:344 trace: built-in: git 'diff-index' '--cached' '--quiet' '--ignore-submodules' 'HEAD' '--'
20:17:44.536692 git.c:344 trace: built-in: git 'rebase--helper' '--continue'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment