git解决ssh: Could not resolve hostname gitlab.xxxx.com

报错:ssh: Could not resolve hostname gitlab.xxxx.com: Name or service not known
fatal: Could not read from remote repository.

解决如下:

		a:sudo vi /etc/hosts   添加如下:
		b:设置为 IP地址 gitlab.xxxx.com

你可能感兴趣的:(#,辅助操作的一些activity,git,ssh,gitlab)