2 ms·
Yes, I do. I often do this (usually in detached HEAD mode!): : ; $EDITOR some-file ... : ; $build : ; git add -e # take a few chunks, maybe change them
by cryptonector 5y ago
Yes, I do. I often do this (usually in detached HEAD mode!):
: ; $EDITOR some-file ...
: ; $build
: ; git add -e # take a few chunks, maybe change them
: ; git diff --staged; git status -uno
: ; # lather, rinse, repeat
: ; git commit -m '...' -ev
: ;
: ; git status -uno; git diff
: ; git add -e # ..
: ; # lather, rinse, repeat until happy
: ;
: ; git fetch origin
: ; git rebase origin/master
: ; # fix any conflicts
: ;
: ; # continue until all bug fix / feature
: ; # activity for this issue is complete
: ;
: ; # review my changes:
: ; git log --patch origin/master..
: ;
: ; # if I have to clean my history a bit:
: ; git rebase -i origin/master
: ; # re-order commits, `edit` commits, `drop`
: ; # commits as needed
: ; $build
: ; # fix remaining issues...
: ;
: ; # finally ready to push:
: ; git push myclone HEAD:refs/heads/this-thing
: ;
: ; # open a PR
Repeat as needed to deal with code review comments until done and integrated.
- c-smile 5y agoAre you human? > detached HEAD mode Ah, I see, not anymore...
- cryptonector 5y agoLol, have an upvote!