# git push **Repository Path**: newhope/git-push ## Basic Information - **Project Name**: git push - **Description**: 简单的push git代码的脚本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2014-11-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 脚本说明 : git-push.sh 是在bash终端运行的脚本命令 开发目的 :该脚本是简化提交代码到gerrit服务器的命令,由于提交代码到gerrit服务器 的命令比较繁琐,而且容易输入错误,因此编写了该脚本 使用说明 : git-push.sh [ INSTALL | - | branchName ] 参数说明: INSTALL - 安装脚本,在HOME目录创建.git-push目录,然后拷贝脚本到这个目录, 接着在HOME目录的.profile加入脚本路径,使脚本生效 - - push代码到当前分支 branchName - push代码到指定的branchName分支 缺省情况 - push代码到当前分支