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:

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
      
read password from keychain via `/usr/bin/security`
1.10.4.3.1 -- read password from keychain via `/usr/bin/security`
Copyright © marslo 2020-2024 all right reserved,powered by GitbookLast Modified: 2024-10-30 04:30:30

results matching ""

    No results matching ""