# gitlab-rails console
[...]
> user = User.find_by(email: 'e@mail') # Find user with username
> user = User.find_by(username: 'username') # or mail
--
> user.admin = true
> user.save!
Via commit message :
git commit -am "message [ci skip]"
Or git push : git push -o ci.skip
## ~/.gitconfig
[includeIf "hasconfig:remote.*.url:git@monsupergitlab.com:*/**"]
path = ~/.gitconfig-custom
## ~/.gitconfig-custom
[user]
signingkey = XXXXXXXXXXXXXXX
[commit]
gpgsign = true
Last modified: Fri Jun 13 11:59:39 2025