Eagle233-Blog

[Troubleshooting] Git alias 记录


Categories Troubleshooting
Tags

62 Words   |   1 Minutes

  1. 设置自动 commit 时间戳 alias
git config --global alias.cmt '!git add -A && git commit -m "$(date +%Y%m%d%H%M)"'
  1. 整合 Hexo 清理 + commit + push
git config --global alias.hexo '!hexo clean && git add -A && git commit -m "$(date +%Y%m%d%H%M)" && git push'


Page views: Loading...  ·  Visitors: Loading...
Except where otherwise noted, original content on this site is dedicated to the public domain under CC0 1.0.
Powered by Hexo & Theme mdsuper
沪ICP备2026040813号
Search