How to avoid merge commits using TortoiseGit

Hareen Laks picture Hareen Laks · Apr 26, 2013 · Viewed 14.5k times · Source

The problem is when I'm pull and push to the remote repository, it generates a extra commit under my name. The commit says

Merge branch 'master' of ssh://....

I found answers says I should use a command git pull --rebase in git bash to avoid this commit.

But I'm commonly using TortoiseGit. So how can I do it properly with TortoiseGit?

Answer

enorl76 picture enorl76 · Dec 11, 2013

This is an option since version 1.8 of Tortoise Git. The rebase option can be invoked from a the Fetch command:

TortoiseGit fetch dialog highlighting Launch-Rebase-After-Fetch checkbox