rebase - git autosetuprebase is not working? -
i have set git
git config --global branch.autosetuprebase
and looks ok in ~/.gitconfig
file:
[branch] autosetuprebase =
yet when
git pull
he performs merge (i removed company specific data):
from gitlab:***/*** 8fd1d96..0d064a3 master -> origin/master * [new tag] *** -> *** merge made 'recursive' strategy.
why doesn't perform rebase? note thing pulled remote tag , minor code change in file not changed locally...
edit: have git version 1.8.4.5
edit: local .git/config
file:
[core] repositoryformatversion = 0 filemode = true logallrefupdates = true [branch "master"] [remote "origin"] url = git@gitlab:***/***.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master
the branch.autosetuprebase
option in git
affects branches created after set. manual page (git config
):
branch.autosetuprebase when new branch created git branch or git checkout tracks branch, variable tells git set pull rebase instead of merge (see "branch.<name>.rebase"). when never, rebase ...
for branches exist, e.g. master
, there git config branch.master.rebase true
, can scripted multiple branches/repos if necessary.
Comments
Post a Comment