
辅助工具
星仔20180409
IOS开发人员
展开
-
iOS开发:使用shell脚本更改工程版本号和build号
iOS开发:使用shell脚本更改工程版本号和build号。原创 2023-02-02 15:49:37 · 690 阅读 · 0 评论 -
git同步本地分支和远程分支以及同步Tag
一、同步分支#/user/bingit fetch origin -p原创 2021-05-28 16:34:30 · 544 阅读 · 0 评论 -
shell命令自动更新所有工作目录的远程文件
#! /bin/bashfunction read_dir(){for file in `ls $1` #注意此处这是两个反引号,表示运行系统命令do echo $1/$file cd $1/$file if [[ $(git rev-parse --show-toplevel 2>/dev/null) = "$PWD" ]] then git restore . #慎用!!!如果有本地代码还没提交就别用这句了 git clea...原创 2021-04-02 11:18:12 · 208 阅读 · 0 评论