-
Git 自定义常用配置
Friday, August 25, 2023 in Git
Categories:
git 自用配置 定义了一些常用的git简写命令 1[push] 2 default = current 3 autoSetupRemote = true 4[core] 5 safecrlf = false 6 trustctime = false 7 editor = vim 8 filemode = false 9 autocrlf = input 10 quotepath = false 11 whitespace = cr-at-eol 12 ignorecase = false …
-
Gitea 二进制版本 安装配置
Wednesday, August 23, 2023 in Git
Categories:
关于Gitea Gitea 是一个自己托管的Git服务程序。他和GitHub, Bitbucket or Gitlab等比较类似。他是从 Gogs 发展而来 Gitea的首要目标是创建一个极易安装,运行非常快速,安装和使用体验良好的自建 Git 服务。 采用Go作为后端语言,只生成一个可执行程序即可。 并且他还支持跨平台,支持 Linux, macOS 和 Windows 以及各种架构,除了x86,amd64,还包括 ARM 和 PowerPC。 准备工作 1 2# .bashrc 中 配置环 …
-
Git 常用操作
Thursday, June 25, 2020 in Git
Categories:
远程仓库 操作命令 检出仓库: $ git clone git://github.com/origin_name/origin_name.git 查看远程仓库: $ git remote -v 添加远程仓库: $ git remote add origin_name remote_url 删除远程仓库: $ git remote rm origin_name 修改远程仓库: $ git remote set-url --push origin_name new_remote_url 拉取远程仓 …