Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

gitpush命令

功能描述(只适用于内部icode)

使用git push操作的时候,会出现push到错误分支的情况,解决起来比较麻烦,而通常情况下我们push操作通常是将本地的分支代码push到远程对应的分支。 gitpush.sh文件提供了一个gitpush命令,可以根据当前的分支进行一键push。

使用方法

  1. 下载gitpush.sh文件
  2. 执行 sh gitpush.sh 命令,设置gitpush命令
  3. push代码时,直接执行 gitpush 即可