github <-> local
855 ワード
pwd
ls
cd ../
cd ~
mkdir dirName
vim a.txt
git init local_git
cd local_git
vim f1.txt
git add f1.xtx
git commit -m "add a"
git log
git remote add origin repo-address
git remote -v #연결확인
git push -u origin master
vim f1.txt
git commit -am "add b"
git push
git pull origin master #내려받기
---------------
깃허브에 SSH 원격접속
SSH생성
ssh-keygen
enter
enter
enter


ハブに公開鍵を送信
cd ~/.ssh
cat id_rsa.pub
キーのコピー


git addを参照:https://www.daleseo.com/git-add/
Reference
この問題について(github <-> local), 我々は、より多くの情報をここで見つけました https://velog.io/@he1256/github-localテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol