Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid merge commits using TortoiseGit

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?

like image 729
Hareen Laks Avatar asked Apr 26 '13 10:04

Hareen Laks


1 Answers

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

like image 104
enorl76 Avatar answered Sep 18 '22 13:09

enorl76