[Git] set-upstream
2024-08-25 19:17:51
When you want to push your local branch to remote branch, for the first push:
git push --set-upstream origin <branch_name>
The reason to set 'up-stream' is that you want this branch to be tracked against, so you can just type:
git push
Tips:
git push -u origin <branch_name>
is the same the --set-upstream
最新文章
- destoon去掉会员注册email验证
- linux shell 之 crontab(定时任务)详解
- C++ Primer 第九章 顺序容器
- HDFS Append时packet的格式以及DataNode对block/checksum文件的处理
- Sizing and Capacity Planning for SharePoint 2013 - Resources
- 基于CoreText的基础排版引擎
- 图解Android - Android GUI 系统 (2) - 窗口管理 (View, Canvas, Window Manager)
- 数据库(学习整理)----2--关于Oracle用户权限的授权和收权
- VS2008中Run-Time Check Failure #2 - Stack around the variable 'xxx' was corrupted 错误解决方法
- java 中的常用类
- Hive篇---Hive与Hbase整合
- VS2013安装Boost
- NetBus —— 让你的 App 内部随处感知网络的变化
- Windows桌面或服务器环境下嵌入JavaScript支持(JSRT)
- Linux系统中Redis和Tomcat的PID文件路径设置
- Maven入门介绍
- webServlet(";/";) 和 webServlet(";/*";) 的区别
- I2S音频总线学习
- 大数据在教育中的应用 part2笔记
- LibreOj 6279数列分块入门 3 练习了一下set