---
title: "Discussion on \"How to fix Git always asking for credentials when connecting to remotes\" | Hashnode"
description: "Discussion on \"How to fix Git always asking for credentials when connecting to remotes\". It can be somewhat tiring when you have to enter your username and password every time you are connecting/transferring data from your local repository to the remote repository with your personal computer. However, if you use SSH transport for connect..."
url: "https://hashnode.com/posts/how-to-fix-git-always-asking-for-credentials-when-connecting-to-remotes/5faec1167fcc8d387fc0d1b3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to fix Git always asking for credentials when connecting to remotes](https://josef.hashnode.dev/how-to-fix-git-always-asking-for-credentials-when-connecting-to-remotes?utm_source=hashnode&utm_medium=feed)

It can be somewhat tiring when you have to enter your username and password every time you are connecting/transferring data from your local repository to the remote repository with your personal computer. However, if you use SSH transport for connect...

Nov 13, 2020 · 2 min read · josef.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Joseph Emeruwa](https://hashnode.com/@josef)

@josef

  
[View profile](https://hashnode.com/@josef)

Software Developer

## Responses 1

Markdown supported · ⌘↵ to post

[Salami Victoria](https://hashnode.com/@ikiv)

[Apr 19, 2021](https://hashnode.com/posts/how-to-fix-git-always-asking-for-credentials-when-connecting-to-remotes/5faec1167fcc8d387fc0d1b3/comment/607d802eeb2bd30d2d22965d)

Thank you so much, I've been struggling with this for a while and this really helped.
