상세 컨텐츠

본문 제목

git push, clone via GITHUB

생활코딩

by sosorine 2024. 1. 26. 15:29

본문

728x90

 

GIT PUSH

git add .

git status // listed as green characters

 

git config --global user.name "John Doe"

git config --global user.email johndoe@example.com

 

git commit -m "first commit"

git status // nothing to commit

git remote add origin "GITHUB URL"

git remote -v // figure out origin address

git push origin master

git reset HEAD .

 

GIT CLONE

git clone --branch master "GITHUB URL"

 

+ cd app

+ npm i

+ npm i nodemon

+ create "env."

 

 

 

 

 

728x90

관련글 더보기