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'

相关推荐
江华森12 小时前
高级 Bash 脚本编程指南 — 实战教程
开发语言·bash
承渊政道12 小时前
【MySQL数据库学习】(MySQL表的内外连接)
数据库·学习·mysql·leetcode·bash·数据库开发·数据库系统
2601_961875241 天前
花生十三公考课程|网课|视频
数据库·windows·git·svn·eclipse·github
hyunbar1 天前
配置 Cloudflare Tunnel:把 Mac 上的 Web 服务变成安全域名
网络协议·https·bash
2601_961875241 天前
花生十三资料网盘|百度云|下载
数据库·windows·git·svn·eclipse·github
承渊政道1 天前
【MySQL数据库学习】(MySQL复合查询)
数据库·学习·mysql·bash·database·数据库开发·数据库架构
zh路西法3 天前
【tmux入门】终端分屏、SSH远程守护与一键启动脚本
linux·运维·ssh·bash
承渊政道3 天前
【MySQL数据库学习】(MySQL内置函数)
数据库·学习·mysql·ubuntu·bash·数据库开发·数据库系统
allway24 天前
How to Echo Multiline to a File in Bash [3 Methods]
开发语言·chrome·bash
Dontla4 天前
git bash打开Claude code报错:Claude Code on Windows requires git-bash.(别把git装其他位置,严格按照默认安装)找不到claude code
windows·git·bash