You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am using Windows OS, and cmd to do git operations.
Lately I have started receiving following warning :
remote: You are using an account password for Git over HTTPS.
remote: Beginning March 1, 2022, users are required to use app passwords
remote: for Git over HTTPS.
remote: To avoid any disruptions, change the password used in your Git client
remote: to an app password.
remote: Note, these credentials may have been automatically stored in your Git client
remote: and/or a credential manager such as Git Credential Manager (GCM).
remote: More details:
I created the app password as mentioned and in the cmd I did
git config --unset credential.helper
But again, when I did git push it didn't ask me for password and gave the same warning.
Hi @Arqam Ahmad,
The command git config --unset credential.helper will unset a credential helper set on a repository level, and not the one set on the system level (for all users on your computer) or on the global level (set for your user only).
Please also keep in mind that if you unset the credential helper, you will be required to give an app password in every clone/pull/push operation.
You can check what credential helper is set on the system and global level with the following commands:
git config --system credential.helper
git config --global credential.helper
Then, instead of unsetting the credential helper, I would recommend
If you remove any saved credentials from the credential helper, you should get asked for a password next time you clone, pull or push. You can then provide the app password, and it should be saved in the credential helper.
Please feel free to let me know how it goes and if you have any questions.