基础服务
【未分类】
备忘的一些链接
图床列表 - imgtu
【目录】生活&其它
游戏修改器-nes游戏修改记录
尝试操作系统-Community20.3
哈哈哈
警世恒言/人生谎言
使用视频采集卡让笔记本当nuc的屏幕
【已废弃】获取微信好友-itchat
获取微信好友-pc hook
易混词语(尽量避免使用)
有用的链接(工具)
zy服务版本记录
注意安全、生命、健康
日文输入法
安卓模拟器中使用微信充值微信豆
备忘小技巧
excel
网站生成
静态网站生成工具-vuepress
静态网站生成工具-hugo
【目录】代码片段
动态显示select的option列表
同时显示汉字和拼音
常用java代码
性能
jmeter
jmeter-性能
ops
kubernetes
jenkins
drone
服务升级记录
mrdoc升级记录
mysql升级记录
方案
跨语言的web服务间接口调用安全问题
【其它编程语言】
编程-javascript
编程-python
前端框架-react
编程-golang
c语言
.NET(dotnet)
【前端】
Lua简明教程
【缓存】redis
redis
服务搭建
搭建mrdoc
主机服务及端口列表
安装centos7虚拟机
docker
虚拟机-vagrant和virtualbox
安装AlpineLinux虚拟机
docker machine
docker-swarm
配置https域名
centos7服务器清理磁盘空间
vscode
multipass
ubuntu 使用
【数据库】mysql
mysql命令
mysql
HashDatabaseAndTableTest.java
mysql-快速导入100w条记录
mysql高级命令
用于排查问题的一些常见命令
基础信息
mysql5.7升级到8
maven相关
maven命令行汇总
自动升级maven工程中的项目版本
maven基础及高级
windows系统使用
windows客户端软件使用
windows 宿主机 + virtualbox虚拟机共同使用
windows常见问题记录
新的开发环境
windows11配置
windows系统下载
命令行安装软件 & 配置软件
折腾谷歌浏览器
浏览器插件列表
windows音频视频下载工具
云服务
服务-tao-道
【目录】技术分享
技术分享-todo
【目录】shell
windows常用命令
shell脚本汇总
shell命令汇总
windows常用脚本
命令行操作录制工具 asciinema-player
windows软件包管理器scoop
网络相关
服务使用
nexus
jenkins
apifox
notify (bark-server)
开发人员相关
IDEA相关配置
压力测试工具-jmeter
【目录】git集合
git常用操作
gitlab替代品:gitea搭建及简单使用
【git神技】git配置多个提交账户
【git神技】git别名使用
【git神技】一个本地仓库同时提交到github/gitlab/gitee等多个代码平台
gitlab使用记录
git问题汇总
git-for-windows配置
用过的jdk版本
内网穿透-通过公网ip访问本地web服务
常见问题的排查及工具
本文档使用 MrDoc 发布
-
+
首页
【git神技】git别名使用
在home目录下有个.gitconfig文件,里面有`[alias]`段,即是别名配置,我经常把push打成psuh/pus/psh等,所以就使用别名啊,即使错了也不用再重新敲命令了。 最高效的别名当属acp (add commit push),添加对应的别名后,使用命令`git acp "提交信息"`即可一个命令代替三个命令,如 `git acp "测试一次性git add . && git commit -m "\xxxx\" && git push" `。 附上个人别名列表(不再更新): ```text [alias] s = status st = status stauts = status p = pull pl = pull pll = pull pu = pull pul = pull ps = push pus = push psh = push psuh = push puhs = push cl = clone co = checkout ci = commit last = log -1 HEAD bv = branch -v ba = branch -a url = remote -v acp = "!f() { git add . && git commit -m \"$@\" && git push; }; f" lg = log --graph --decorate --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative pp = "!pp() { git pull && git push; }; pp" ``` 附上完整的.gitconfig ``` [credential] helper = store [alias] s = status st = status stauts = status p = pull pl = pull pll = pull pu = pull pul = pull ps = push pus = push psh = push psuh = push puhs = push cl = clone co = checkout ci = commit last = log -1 HEAD bv = branch -v ba = branch -a url = remote -v acp = "!f() { git add . && git commit -m \"$@\" && git push; }; f" lg = "log --graph --decorate --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" pp = "!pp() { git pull && git push; }; pp" [http] version = HTTP/1.1 sslVerify = false postBuffer = 157286400 [filesystem "Oracle Corporation|1.8.0_121|468992"] timestampResolution = 1001 microseconds minRacyThreshold = 0 nanoseconds [pull] rebase = true ```
我是张三
2023年10月28日 22:31
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
eblog
Markdown文件
分享
链接
类型
密码
更新密码