Skip to content

Instantly share code, notes, and snippets.

@ymtky
Last active February 14, 2018 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ymtky/cd9b9c6fd59186b6d53ec74705fa2b6a to your computer and use it in GitHub Desktop.
Save ymtky/cd9b9c6fd59186b6d53ec74705fa2b6a to your computer and use it in GitHub Desktop.
gitメモ
タイポを置換で直す
git grep -l 'hogehoge' | xargs sed -i '' -e 's/hogehoge/hugahuga/g'
コミットのauthor dateを現在時刻にする
git commit --amend --date "`date`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment