MAC主机.bash_profile定义简化命令中批量添加、删除SVN版本文件

export PATH=/usr/bin:$PATH

export PATH=/usr/local/mysql/bin:$PATH

alias -g csd='svn status | awk "{if ( \1 == \\"!\\") { print \\2}}" | xargs svn del'

alias -g csa='svn status | grep "?" | awk "{print \$2}" | xargs svn add'

alias ci='ci(){ date;

p=`pwd`;

cd /....自己的项目路径..../;pwd;csd;svn up --config-option config:miscellany:use-commit-times=yes;svn ci -m "auto commit svn...";

csa;svn ci -m "auto commit svn add...";

cd /.....自己的项目路径..../;pwd;csd;svn up --config-option config:miscellany:use-commit-times=yes;svn ci -m "auto commit svn...";

csa;svn ci -m "auto commit svn add...";

cd $p;

};ci'

相关推荐
shughui9 小时前
SVN 下载+安装+汉化+使用全教程(附安装包详细图文)
svn
猿小路1 天前
SVN安装及IDEA集成详细使用教程
java·svn·intellij-idea
IMPYLH2 天前
Linux 的 basename 命令
linux·运维·服务器·ssh·bash
Liu.7742 天前
vscode使用git和svn
git·vscode·svn
IMPYLH3 天前
Linux 的 b2sum 命令
linux·运维·服务器·bash
苦逼IT运维3 天前
SVN 仓库目录迁移,仓库 “降级” 成子目录实战
linux·运维·ci/cd·svn·运维开发
波特率1152003 天前
bash命令进阶学习(Shell 元字符)
linux·bash·shell
knighthood20014 天前
ROS1中source xxx.bash失效
开发语言·bash
IMPYLH4 天前
Bash 的 basenc 命令
linux·运维·服务器·bash·shell
IMPYLH4 天前
Linux 的 arch 命令
linux·运维·服务器·bash