Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reflections on delivery 03-2023 #3

Open
Sparrow0hawk opened this issue Mar 7, 2023 · 4 comments
Open

reflections on delivery 03-2023 #3

Sparrow0hawk opened this issue Mar 7, 2023 · 4 comments

Comments

@Sparrow0hawk
Copy link
Contributor

Quick page for reviewing todays session that used gh cli for GitHub authentication installed via conda.

@Sparrow0hawk Sparrow0hawk changed the title Using gh cli gotchas reflections on delivery 03-2023 Mar 7, 2023
@Sparrow0hawk
Copy link
Contributor Author

I used conda-installed git-bash for the workshop, previously this has been to ensure the use of the same bash commands across platforms. Whether this is necessary with newer versions of anaconda prompt including standard bash commands is a good question

@Sparrow0hawk
Copy link
Contributor Author

git-bash 2.22.0 from conda doesn't play well with gh CLI. Have to use winpty to get commands to work.

@Sparrow0hawk
Copy link
Contributor Author

Some users got in a pickle trying to use gh after using conda-installed git bash where git wasn't available in PATH. This seemed to be to do with how users were starting git-bash. Starting git-bash from within anaconda prompt (where you'd also installed gh) seemed to solve this.

@Sparrow0hawk
Copy link
Contributor Author

Going forward i'd recommend setting SSH when using gh auth login, it handles creating the key, adding it to ~/.ssh and uploading the key to GitHub. Obviously need to advise users on passphrase setting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant