分享給後輩的 Github教學

--

以下提供為Mac M2環境

➜  sunny-php git:(main) ssh-keygen -t rsa -b 4096 -C "sunny@gmail.com"

➜ sunny_id_rsa // 產key

➜ cat sunny_id_rsa.pub | pbcopy

// 貼至github setting > ssh key

➜ ssh-add sunnys_id_rsa

之後就可以git 囉^^

以下為git 常用指令

git status 

git commit -m "提交規範"

git push -u origin main

git log // 離開時按q

--

--

Sunny.Cat :: 😸
Sunny.Cat :: 😸

Written by Sunny.Cat :: 😸

Hi there , My name is Sunny.cat ʕ•̫͡•ʔ I am a Web developer PHP🐘Typescript🐤Golang🐻‍❄️Python🦎

No responses yet