Server/AWS
[Node.js] AWS Git 사용법
denodo
2020. 7. 31. 17:28
//root 권한 아닐 시, sudo
$ apt install git-core
$ apt install npm user.name "denodo1"
$ apt-get update user.email "denodo1@gmail.com"
$ apt-get update color.ui "auto"
$ mkdir /works
$ cd /works
$ git clone https://github.com/denodo1/service-mybatis.git
//생략가능
$ git remote add origin https://github.com/denodo1/service-mybatis.git
$ git add -A
$ git commit // 입력 후 엔터 치고 변경목록이 보이면 Ctrl+o 그리고 Enter 그리고 Ctrl+x 종료한다.
$ git commit -m "메세지입력"
$ git push
//end
$ cd /service-mybatis
$ git fetch origin
$ git pull
$ git status