Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 17th, 2018
72
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.35 KB
| None
|
0
0
raw
download
clone
embed
print
report
#ローカルとリモートのブランチ名を変更する
以下、ブランチ名を hoge から foo に変更する例
- ローカルのブランチ名変更
```
git branch -m hoge foo
```
- リモートのブランチを消す
```
git push origin :hoge
```
- 変更済みローカルブランチをプッシュ
```
git push origin foo
```
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 11 min ago | 0.39 KB
Untitled
C# | 38 min ago | 2.78 KB
K_C_Shuffle
C# | 1 hour ago | 1.13 KB
pagination-fixed
JavaScript | 1 hour ago | 4.75 KB
Untitled
TypeScript | 1 hour ago | 2.13 KB
:/
JavaScript | 2 hours ago | 5.22 KB
Untitled
Java | 3 hours ago | 1.72 KB
Splah Layout
XML | 4 hours ago | 0.31 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!