Due to GitLab being bastards-
docker exec -it gitlab gitlab-rails console
PersonalAccessToken.active.where(user_id: (User.find_by_username "douglasparker")).update_all(expires_at:100.years.from_now)
#SingleInstance Force | |
#InstallKeybdHook | |
SendMode Input | |
DetectHiddenWindows, On | |
SetKeyDelay , 50, 30, ; 50ms is the default delay between presses, 30ms is the press length | |
if !A_IsAdmin | |
{ | |
Run *RunAs "%A_ScriptFullPath%" | |
ExitApp |
Due to GitLab being bastards-
docker exec -it gitlab gitlab-rails console
PersonalAccessToken.active.where(user_id: (User.find_by_username "douglasparker")).update_all(expires_at:100.years.from_now)
This gist makes it extremely easy to replace git author information by rewriting your git commit history.
Note
We make use of the git-filter-repo
dependency because git filter-branch
has a plethora of pitfalls.
Warning
$GIT_OLD_NAME
will be replaced with $GIT_NEW_NAME
.$GIT_OLD_EMAIL
will be replaced with $GIT_NEW_EMAIL
.