Skip to content

Instantly share code, notes, and snippets.

@dermanov-ru
Created March 7, 2018 09:50
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 dermanov-ru/b293a00e2fd484a54ba30ddbc3f28763 to your computer and use it in GitHub Desktop.
Save dermanov-ru/b293a00e2fd484a54ba30ddbc3f28763 to your computer and use it in GitHub Desktop.
Git
# изменить автора коммита
1) в консоли начать ребейз
git rebase -i -p <some HEAD before all of your bad commits>
2) изменить автора каждому коммиту без открытия редактора
git commit --amend --author "Mark <mark@artw.ru>" --no-edit && git rebase --continue
Заметка:
пхпшторм при интерактивном ребейзе не меняем автора коммита. или я не понял, как это сделать.
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment