You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by gi...@git.apache.org on 2017/10/13 22:33:49 UTC

[GitHub] ccollins476ad opened a new pull request #101: MYNEWT-851 newt - Private repo password displayed by `git remote -v`

ccollins476ad opened a new pull request #101: MYNEWT-851  newt - Private repo password displayed by `git remote -v`
URL: https://github.com/apache/mynewt-newt/pull/101
 
 
   (Jira: https://issues.apache.org/jira/browse/MYNEWT-851)
   
   h3. Prior to commit
   
   For private repos, the user's login and password are part of the repo URL. E.g.,
   
   ```
       wes@~/dev/work/repos/private-repo$ git remote -v
       origin    https://wes3:[password-redacted]@github.com/PrivateRepo/private-repo.git (fetch)
       origin    https://wes3:[password-redacted]@github.com/PrivateRepo/private-repo.git (push)
   ```
   
   h3. After commit
   
   Newt wraps all git commands that require remote access as follows:
   
   1. Replace remote URL with the authentication-decorated version.
   2. Perform git operation.
   3. Replace remote URL with unauthenticated version.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services