Skip to end of metadata
Go to start of metadata

On November 26th at 11am we will be migrating GitLab to another host.  Besides a brief time when the server will be offline most users will notice no changes.  Because we are moving the service into a docker container we will need to change the git+ssh port that GitLab uses for pushing and pulling code.  This should be a one-time change for people that have existing code already cloned and are working on remote branches.  I will attempt to keep both ways working for a short period of time but the old origins will be phased out quickly. 

If you are pushing and pulling via https then no changes need to be made.

Current SyntaxNew Syntax
git@gitlab.rit.albany.edu:ritstaff/arcc-ansible.gitssh://git@gitlab.rit.albany.edu:222/ritstaff/arcc-ansible.git

In this case the new syntax requires 'ssh://' before the string and the port number '222/' inserted before the repo name.  Below is an example of the command line you will need to enter.

$ git remote -v
origin  git@gitlab.rit.albany.edu:ritstaff/docker-pfid.git (fetch)
origin  git@gitlab.rit.albany.edu:ritstaff/docker-pfid.git (push)

$ git pull
Already up-to-date.

$ git remote set-url origin ssh://git@gitlab.rit.albany.edu:222/ritstaff/docker-pfid.git

$ git pull
Warning: Permanently added '[gitlab.rit.albany.edu]:222' (ECDSA) to the list of known hosts.
Already up-to-date.

If you are concerned about getting the syntax wrong you can go to the webpage and copy the origin from the project page.

If you have concerns or would like assistance please reach out to us.

 

  • No labels