Git仓库

新建本地仓库

# 初始化仓库(默认初始分支名称为master)
git init

# 初始化仓库时指定分支名称为"main"
git init --initial-branch=main

本地远程仓库

# 查看已配置的远程仓库及其对应 URL 的命令
git remote -v

# 为本地仓库添加一个远程仓库
git remote add git@codeup.aliyun.com:xx.git

# 添加远程仓库并指定本地远程仓库的名称
git remote add codeup git@codeup.aliyun.com:xx.git #这条命令将会添加一个名字叫codeup的远程仓库

# 删除本地的远程仓库
git remote remove origin

# 更改本地远程仓库的名称
git remote rename oldname newname
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇
error: Content is protected !!