Change Repo: http > ssh
# Status Quo $ git remote -v show origin https://systemvcs.math.uzh.ch/it/typo3-docker.git (fetch) origin https://systemvcs.math.uzh.ch/it/typo3-docker.git (push) # Remove Origin $ git remote rm origin # Set SSH Version $ git remote add origin git@systemvcs.math.uzh.ch:it/typo3-docker.git # Status Quo git remote -v show origin git@systemvcs.math.uzh.ch:it/typo3-docker.git (fetch) origin git@systemvcs.math.uzh.ch:it/typo3-docker.git (push) # Try a git pull: $ git pull # If you receive: There is no tracking information for the current branch. ... try: $ git branch --set-upstream-to=origin/main main
Attention: if you change to SSH and
- You use SSH public key (stored on GIT server),
- You're logged in on a remote server by ssh and you're using a different user ID than the one where the public key on the git server belongs to,
than you should forward your SSH-Agent! E.g. ssh root@host -A
Pipeline failed notification
- Maintainer receives all pipeline errors per mail by default
- Others can subscribe to it on the main site of a project:
Windows Change Saved Git Password
- Open "Credential Manager" (German: "Anmeldeinformationsverwaltung")
- Choose "Windows Credentials" (German: "Windows-Anmeldeinformationen") and remove all saved credentials for Git.
- Use git as usual, you will be asked to enter your password