Repro steps -
.\NuGet.exe sources add -name SourceName -source http://Source.com/source -username UserName -password pass -configfile .\nuget.config
.\NuGet.exe sources remove -name SourceName
Note- Credentials are removed if we remove from the local nuget.config explicitly -.\NuGet.exe sources remove -name SourceName -configfile .\NuGet.Config
Thank you very much for your feedback. We appreciate you for letting us know about the problem you encountered, but we haven鈥檛 been able to fully investigate your problem as our focus has been on other problem reports. If there are more community feedback on this, then we'll re-evaluate this.