theme
[!NOTE|style:callout|label:references|icon:fa fa-bullhorn] reference:
jekyll
[!NOTE|style:callout|label:jekyll|icon:fa fa-bullhorn]
install
$ gem install github-pages Fetching em-websocket-0.5.1.gem Fetching colorator-1.1.0.gem Fetching eventmachine-1.2.7.gem ...
start local service
$ jekyll serve Configuration file: /Users/marslo/mywork/tools/git/marslo/marslo.github.io/_config.yml Source: /Users/marslo/mywork/tools/git/marslo/marslo.github.io Destination: /Users/marslo/mywork/tools/git/marslo/marslo.github.io/_site Incremental build: disabled. Enable with --incremental Generating... done in 0.593 seconds. Auto-regeneration: enabled for '/Users/marslo/mywork/tools/git/marslo/marslo.github.io' Server address: http://127.0.0.1:4000/ Server running... press ctrl-c to stop.
hogo
loveit
[!NOTE|label:references:]
gh-pages
[!NOTE|style:callout|label:gh-pages|icon:fa fa-bullhorn] reference:
Please use a personal access token instead
[!NOTE|style:callout|icon:fa fa-bullhorn] references:
- Authentication token format updates are generally available
- Creating a personal access token
- Other authentication methods
- jonjack/add-update-github-access-token-on-mac.md
- Updating credentials from the macOS Keychain
- Caching your GitHub credentials in Git
- Using the OS X Keychain to store and retrieve passwords
- Get Password from Keychain in Shell Scripts
token generation
- login -> account ->
settings
->Developer settings
->Personal access tokens
clean previous git credential
$ git credential-osxkeychain erase ⏎
host=github.com ⏎
protocol=https ⏎
⏎
# and clean the previous git credential in keychain Access.app
$ security delete-internet-password -l github.com
check git credential helper
$ git config --get credential.helper osxkeychain
find item in keychain
$ security find-internet-password -l github.com
read password
[!NOTE|style:callout|icon:fa fa-bullhorn] * imarslo: read password in osx
$ sudo security find-internet-password -ws github.com [-a <account@mail.com>]
- or read all information
$ sudo security find-internet-password -gs github.com
- or read all information