国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

What does git branch -rd remote/branch delete?
僅有的幸福
僅有的幸福 2017-05-02 09:35:31
0
1
850

git branch -rd remote_name/branch_name
After deletion, the prompt is successful.
Use
git branch -r
to get the remote branch list. There is no branch remote_name/branch. _name,
and then use
git pull
to find that branch branch_name was obtained from the remote end,
then what did
git branch -rd remote_name/branch_name
delete?

My git version is given here:
git version
git version 2.7.0.windows.1

僅有的幸福
僅有的幸福

reply all(1)
給我你的懷抱

git branch -r 操作的是 remote-tracking branch 這個branch依然是你本地的,不過它不能被編輯。
譬如當你從一個remotefetch時,如果在此之前其他人在remote上提交了一個新的分支somebranch, you may see the following message:

git fetch origin
remote: Counting objects: 1, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (1/1), done.
[new branch]      somebranch    -> origin/somebranch

At this time, you have one more local branchorigin/somebranchThis is a remote-tracking branch, and then you can checkout one from it to do your work:

git checkout -b sbranch origin/somebranch

Remote branches can only be deleted through git push.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template