程序猿日常
今天记Flutter新项目运行起来出现库引用个问题
感谢分享
flutter pub get时报git无权限
git@gitlab.*******.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal: Could not read from remote repository.
但是我已经配置好ssh了,key也添加到平台上了,在命令行操作也可以git clone,也可以push,就是pub get 的时候不行,执行下面这个命令行时就可以了,亲测有效
ssh-add ~/.ssh/id_rsa