在 bitbucket 上新创建的 git 分支未显示在活动或合并分支列表中
On bitbucket newly created git branch does not show in active or merged branch list
我的主要b运行ch是master。
我运行下面的命令:
git checkout develop
git branch feature/profile
git checkout feature/profile
git pull origin develop
我创建了这个新的 b运行ch 但我必须合并我命名的 b运行ch 说 "abc" 到 "feature/profile" 但是在 bitbucket feature/profile 不存在。
如果我运行
git branch -a
我明白了:
*develop
feature/profile
abc
master
...
...
目前我在功能 b运行ch 中没有任何工作要做。
Bitbucket 不会 "know" 关于您新创建的本地分支,直到您实际推送它。所以尝试:
git push origin feature/profile
推送后,它应该会出现在活动分支列表中。
请注意,这是 Git 的典型行为,创建它的目的是使其成为一个高度分布式的版本控制系统。也就是说,您可以创建本地分支、使用它等,而远程 Bitbucket 不需要知道这一点。
我的主要b运行ch是master。
我运行下面的命令:
git checkout develop
git branch feature/profile
git checkout feature/profile
git pull origin develop
我创建了这个新的 b运行ch 但我必须合并我命名的 b运行ch 说 "abc" 到 "feature/profile" 但是在 bitbucket feature/profile 不存在。
如果我运行
git branch -a
我明白了:
*develop
feature/profile
abc
master
...
...
目前我在功能 b运行ch 中没有任何工作要做。
Bitbucket 不会 "know" 关于您新创建的本地分支,直到您实际推送它。所以尝试:
git push origin feature/profile
推送后,它应该会出现在活动分支列表中。
请注意,这是 Git 的典型行为,创建它的目的是使其成为一个高度分布式的版本控制系统。也就是说,您可以创建本地分支、使用它等,而远程 Bitbucket 不需要知道这一点。