这似乎是我无意中修改了我的git配置,以便当我从branchA切换到master时,所有更改都会自动合并到master。没有我在branchA中提交或者我并入master。在过去,如果我在修改跟踪文件之后尝试切换分支而没有提交,我得到了“未提交的更改,无法切换分支”的消息,但现在我无法引发该行为。有些东西已经改变了我的git配置,但我不知道它可能是什么。这听起来对任何人都很熟悉吗?Git分支行为奇怪
任何帮助,非常感谢。
unbuntu 10.10
混帐1.7.1
github.com
这里是我的混帐配置-l:
giggle.main-window-maximized=false
giggle.main-window-geometry=993x731+318+160
giggle.history-view-vpane-position=223
giggle.main-window-view=HistoryView
giggle.file-view-vpane-position=153
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=**************************************
branch.master.remote=origin
branch.master.merge=refs/heads/master
submodule.config/shared_capistrano.url=******************capistrano.git
submodule.vendor/plugins/authentication_client.url=********************.git
branch.dev.remote=origin
branch.dev.merge=refs/heads/dev
branch.1.3.9.remote=origin
branch.1.3.9.merge=refs/heads/1.3.9
你谈论你_uncommitted_给你的讯息正在传递给主分支的变化还是其他? – Koterpillar 2011-06-13 23:19:32
你可以用'git config -l'来列出你的配置。在这里发布(不包括任何秘密),也许有人可以找到一些奇怪的东西。 – 2011-06-13 23:26:30
[Modified files and git branches]可能的重复(http://stackoverflow.com/questions/246275/modified-files-and-git-branches) – 2011-06-14 07:33:50