Using Git with Gitlab and second factor auth
PROBLEM: After 2nd factor activation on Gitlab, username and password auth is not working anymore SOLUTION: Generate API key and use modified url Generate your API key on Gitlab You can find this option in Preferences > Access Tokens Copy this token and note you will see it only once (you have to generate a new one if the old is lost) Create new URL
1 |
So if you would like to push or clone the repo using e.g. git…