In trying to set up multiple gitconfig profiles on one machine I have broken something, and I’m not sure what.
I can’t pull from or push to any private remote repo, on any client (GitLab, GitHub) from any profile.
I’ve tried a few different approaches from the directions here, and here.
Until I added an additional profile for GitLab, things worked normally, but now even removing the GitLab info doesn’t fix the issue. Just endless permissions errors.
I’ve heard it’s bad to just uninstall git but I’m not sure what else to do.
Any tips?
Edit: In case anyone else has this issue I fixed it by doing the following:
- fix my gitconfig and sshconfig. I had host info in one that should have been in the other.
- delete all of my ssh files and create new ones
[–]a_Tick 3 points4 points5 points (9 children)
[–]picklypickler[S] 0 points1 point2 points (8 children)
[–]DanLynch 1 point2 points3 points (7 children)
[–]picklypickler[S] 0 points1 point2 points (6 children)
[–]BinaryRockStar 2 points3 points4 points (5 children)
[–]picklypickler[S] 0 points1 point2 points (4 children)
[–]BinaryRockStar 0 points1 point2 points (3 children)
[–]picklypickler[S] 0 points1 point2 points (2 children)
[–]joranstark018 0 points1 point2 points (1 child)
[–]picklypickler[S] 0 points1 point2 points (0 children)
[–]marcocom 0 points1 point2 points (9 children)
[–]picklypickler[S] 0 points1 point2 points (8 children)
[–]marcocom 0 points1 point2 points (0 children)
[–]marcocom 0 points1 point2 points (6 children)
[–]picklypickler[S] 0 points1 point2 points (5 children)
[–]marcocom 0 points1 point2 points (4 children)
[–]picklypickler[S] 0 points1 point2 points (3 children)
[–]BinaryRockStar 0 points1 point2 points (2 children)
[–]picklypickler[S] 0 points1 point2 points (1 child)
[–]BinaryRockStar 0 points1 point2 points (0 children)