In 2026, GitLab made big changes. It's made us surprize and I have some issues about new changes.
----- ----- ----- -----
Case: can't push changes as usual to repository
In this case, I recommend to follow these guides bellow :
1. Login to GitLab https://gitlab.com/users/sign_in
2. Click avatar icon, then click Preferences
3. Click menu Access, then click sub-menu Personal Access Tokens
4. Click dropdown option Generate token, then choose and click option Legacy token
5. You will full fill name for the token and checkbox list those you need. Example, I give the name: gitlab_your-username
6. After that, don't forget to save generated token into your local file whereever you want. Example, I save the token in C:\Users\user1\.ssh\gitlab_your-username_token.txt
7. Open CMD then move to your local repository. Example: cd C:\Users\user1\gitlab\test1
8. Then paste this:git remote set-url origin https://<your_gitlab_username>:<your_token>@gitlab.com/<your_gitlab_username>/<repository_name_on_gitlab>
9. Then, push again: git push origin <branch_name>
Done.
----- ----- ----- -----

Comments
Post a Comment