Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Automagically absorb uncommited chages into the right ancestor commit in your working branch.

License

NotificationsYou must be signed in to change notification settings

bertoldia/git-absorb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A git command inspired by the mercurial command of the same name describedhere.

The gist of this command is to automagically fixup or squash uncommitted (thoughpossibly staged) modifications into the right ancestor commit (or a userspecified commit) in a working branch with no user interaction.

The common use case or workflow is for e.g. to modify commits in response toissues raised during a code review, or when you change your mind about thecontent of existing commits in your working branch.

An alternate workflow for the above use-cases is to do an interactive rebase,mark the relevant commits with (m)odify, make changes, then do git add + gitrebase --continue.

Phase 1

  • user must specify target commit into which changes should be absorbed.
  • no squash, fixup only.

Phase 2

  • find (if it exists) the single commit that can cleanly (i.e. without mergeconflicts) absorb the outstanding changes. Fail if more than one such commitexists.
  • no squash, fixup only.

Phase 3

  • Add support for --squash.

About

Automagically absorb uncommited chages into the right ancestor commit in your working branch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp