1970

Windows10 git-bash 安装 zsh 和 oh_my_zsh 或 prezto

安装git-bash for windows

https://gitforwindows.org/
下载安装一直下一步即可

下载zsh

https://dotatong.cn/tools/zsh-5.8-3-x86_64.pkg.tar

下载后解压到 Git 安装的根目录,相当于对git bash做一个补充包。

安装oh_my_zsh

安装oh_my_zsh(MacOS也可使用该步骤安装oh_my_zsh)

sh -c "$(curl -fsSL https://dotatong.cn/tools/oh_my_zsh.sh)"
22134

Git常用操作备忘

此文来源网络,内容略微修改

Git Flow代码示例

1.创建develop分支

git branch develop
git push -u origin develop

2.开始新Feature开发

23021

gogs搭建私有git服务器

安装mysql

参见之前的文章:https://dotatong.cn/index.php/archives/1/

安装gogs

二进制文件官方地址 https://gogs.io/docs/installation/install_from_binary