GithubHelp home page GithubHelp logo

Test with GCM Core about credentials HOT 3 OPEN

r-lib avatar r-lib commented on June 11, 2024
Test with GCM Core

from credentials.

Comments (3)

jeroen avatar jeroen commented on June 11, 2024

The credential manager automatically opens the browser and generates a token! It was entirely seamless.

This is what I did:

brew tap microsoft/git 
brew cask install git-credential-manager-core

And then open R in a terminal Window (I'm not sure if it works in RStudio because it prompts if you want to open the browser. Need to figure out how to hook that up to an IDE menu).

library(credentials)
git_credential_forget()
set_github_pat()
# And then type: 1 

update Note that the generated token is actually not a PAT but an OAuth app. To edit permissions you need to go to oauth apps and select Git Credential Manager.

Screen Shot 2020-07-13 at 4 12 21 PM

from credentials.

assignUser avatar assignUser commented on June 11, 2024

It does not work on windows with Git 2.29.1 the manager-core is apparently not detected:

image

from credentials.

assignUser avatar assignUser commented on June 11, 2024

git_credential_ask does work though and gets the correct PAT

from credentials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.