On Fri, Apr 07, 2017 at 01:08:23PM +0800, diguazhixiu@xxxxxxxxx wrote: > Hi, all, > > I have a problem when I use command 'git branch -avv', the result is > like below: > > my_test_branch d67ab86 fix some problem > * master 27c4e0b [origin/master] > Add new file > See merge request !146g within bucketsa824 Merge branch 'master' into 'master' > pref 060cac2 Fix bug > remotes/origin/HEAD -> origin/master > remotes/origin/my_test_branch d67ab86 fix some problem > remotes/origin/master 27c4e0b Add new file > See merge request !146g within bucketsa824 Merge branch 'master' into 'master' > > The message ' See merge request...' take the place of branch name, so > I have to user 'git branch -a' > to see the corresponding branch name. > > Now, is my usage wrong? or is this a problem? Do you perhaps have a commit at the tip of the branch that has a carriage-return in it? Try piping the output through "cat -A" and look for "^M" in the output. -Peff