github

fiona8953發表於2018-04-26

//初識設定
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures}

Fiona-Zous-MBP:Downloads fzou$ git config --global user.name "fiona8953"

Fiona-Zous-MBP:Downloads fzou$ git config --global user.email "fzou@pivotal.io"

Fiona-Zous-MBP:Downloads fzou$ git config --global color.ui auto

Fiona-Zous-MBP:Downloads fzou$ cat ~/.gitconfig
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures} span.Apple-tab-span {white-space:pre}

[core]

hooksPath = /Users/fzou/workspace/git-hooks-core

[user]

name = fiona8953

email = fzou@pivotal.io

[color]

ui = auto



//Generate SSH Key

ssh-keygen -t rsa -C "fzou@pivotal.io"


p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures}

Fiona-Zous-MBP:.ssh fzou$ ssh -T git@github.com

Hi fiona8953! You've successfully authenticated, but GitHub does not provide shell access.


//

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #454545} span.s1 {font: 12.0px 'PingFang SC'}

Awesome Web Security https://github.com/qazbnm456/awesome-web-security 




來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26477398/viewspace-2153373/,如需轉載,請註明出處,否則將追究法律責任。