Delete a branch
git branch -d samplebranch
git branch -D samplebranch
Restart GitLab
docker exec -it gitlab /bin/bash
gitlab-ctl restart
Reinitialize the configuration on GitLab
docker exec -it gitlab /bin/bash
gitlab-ctl reconfigure
Log into Ruby console
gitlab-rails console -e production
Check the SMTP configuration on rails console
ActionMailer::Base.smtp_settings