Last active
March 29, 2024 20:10
-
-
Save oclero/5def742d216d20a60034fee1e220e163 to your computer and use it in GitHub Desktop.
Push to Git repository with https on Gitlab/Github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gitlab | |
git push https://gitlab-ci-token:<YOUR_TOKEN>@gitlab.com/<GROUP_NAME>/<REPO_NAME>.git <BRANCH_NAME> [--force] | |
# Github | |
git push https://<USERNAME>:<YOUR_TOKEN>@github.com/<USERNAME>/<REPO_NAME> <BRANCH_NAME> [--force] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment