DEV Community

loading...
Cover image for How to skip a commit during the git rebase process?

How to skip a commit during the git rebase process?

melvin2016 profile image MELVIN GEORGE Originally published at melvingeorge.me ・1 min read

Originally posted here!

Sometimes during a Git rebase process, you may encounter some conflicting commits and wants to skip the specific commit for some reason.

You can do that by passing the --skip flag in the git rebase command.

It can be done like this,

git rebase --skip
Enter fullscreen mode Exit fullscreen mode

Be sure to check not to skip an important commit during the rebase process.

Feel free to share if you found this useful 😃.


Discussion (0)

pic
Editor guide