Git – How to rebase specific commit (Video)

  1. git log –oneline
    git rebase -i ######## //Commit hash
  2. Replace pick with edit
    Ctrl-C
    :wq
  3. Make a change
  4. git status
    git add ****** // Changed files
    git commit –ammend –no-edit
    git rebase –continue
  5. git push -f

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.