Git Rebase Tutorial. The git rebase command has a reputation for being magical git voodoo that beginners should stay away from, but it can actually make life much easier for a development team when used with care. Because changing your commit history can make things difficult for everyone else using the repository, it's considered bad practice to rebase commits when you've already pushed to a repository.
Our favorite text editor will display the An editor will be fired up with all the commits in your current branch (ignoring merge commits), which come after the given commit. Git rebase is confusing to people who never use it and things will be messed up easily if you don’t do it properly (just like me) i messed things up and the commits in rebase getting more and more.