Xjgou's blog Xjgou's blog
首页
  • 汇总

    • 文献汇总
  • 分类

    • 生物信息学
    • 单细胞空间组
    • 免疫学相关
    • scRNA-scATAC整合
  • 汇总

    • 生信工具汇总
  • 分类

    • 图像处理
    • 单细胞空间组
  • 技术文档
  • GitHub技巧
  • Nodejs
  • 博客搭建
  • 心情杂货
  • 实用技巧
  • 友情链接
关于
收藏
GitHub (opens new window)

Xjgou

生信小菜鸡
首页
  • 汇总

    • 文献汇总
  • 分类

    • 生物信息学
    • 单细胞空间组
    • 免疫学相关
    • scRNA-scATAC整合
  • 汇总

    • 生信工具汇总
  • 分类

    • 图像处理
    • 单细胞空间组
  • 技术文档
  • GitHub技巧
  • Nodejs
  • 博客搭建
  • 心情杂货
  • 实用技巧
  • 友情链接
关于
收藏
GitHub (opens new window)
  • 技术文档

    • Git使用手册
    • Markdown使用教程
    • npm常用命令
    • npm packageJson属性详解
    • yaml语言教程
    • Git修改分支名
      • 同时修改本地分支名和对应的远程分支名
  • GitHub技巧

  • Nodejs

  • 博客搭建

  • 数据分析
  • 技术文档
xugaoyi
2022-08-11
目录

Git修改分支名

# 同时修改本地分支名和对应的远程分支名

修改前要确保本地分支的代码是最新的,并且修改后不会影响到同事的代码。

  1. 修改本地分支名
git branch -m oldBranchName newBranchName
1
  1. 删除远程分支
git push origin :oldBranchName
# 或者 git push origin --delete oldBranchName
1
2
  1. 改名后的本地分支推送到远程
git push --set-upstream origin newBranchName
1
编辑 (opens new window)
yaml语言教程
GitHub高级搜索技巧

← yaml语言教程 GitHub高级搜索技巧→

最近更新
01
Benchmarking spatial clustering methods with spatially resolved transcriptomics data
03-05
02
Stress-induced red nucleus attenuation induces anxiety-like behavior and lymph node CCL5 secretion
02-20
03
scGPT toward building a foundation model for single-cell multi-omics using generative AI
06-19
更多文章>
Theme by Vdoing | Copyright © 2023-2025 xjgou | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式