Linux-centos/Linux-centos__works

centos git 설치

말하는감자 2019. 6. 5. 14:52

sudo yum install git



저장소 디렉토리로 이동

git init sampleapp

cd sampleapp



이메일과 이름 설정

git config --global user.email noel@깃허브이메일주소

git config --global user.name "noel"



웹 서버를 작성한다

...이하 생략...



개발자 pc의 파일을 커밋한다

git add app.js package.json

git commit -m "add source"