Skip to content

Instantly share code, notes, and snippets.

@jsoref
Last active January 12, 2024 01:52
Show Gist options
  • Save jsoref/d71accaed6aacdd1567eb626cbeb6a73 to your computer and use it in GitHub Desktop.
Save jsoref/d71accaed6aacdd1567eb626cbeb6a73 to your computer and use it in GitHub Desktop.
Working with evil repositories
check-spelling should be able to work with anything.
macOS has some file system character constraints that have proven to be a bit problematic.
You can use Docker (or an equivalent) to run Alpine Linux:
## Set up an alpine environment
`docker run -it alpine`
## Add required tools
`apk add curl git github-cli perl`
## Connect to GitHub
`gh auth login`
```
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? No
? How would you like to authenticate GitHub CLI? Login with a web browser
```
## Set up git so it can push
`gh auth setup-git`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment