Skip to content

Git Knowledge

Updated: 2024-10-17

List all Remotes associated with a repository

git remote -v

Remove remote repositories

git remote remove origin

Add Remote repository

git remote add origin <gitlab-repo-url>

Push code to a remote repository

git push -u origin main