Token Authentication (Personal Access Token):
GitLab also allows authentication via personal access tokens, which are more secure than using your password. To use a personal access token:
a. Generate a personal access token in your GitLab account settings.
b. Replace your password with the personal access token when pushing:
phpgit remote set-url origin https://<username>:<personal-access-token>@gitlab.com/<username>/<repository>.gitMake sure to replace
<username>,<personal-access-token>, and<repository>with your actual information.
git remote set-url origin http://soton:qqgz-s9MU_ZpXs1jiDsD@192.168.0.164/soton/ati-all-in-one.git
Comments
Post a Comment