node.js로 개발한 코드를 넣자.
1
[root@s1802b2025ee ~]# cd sourcecommit/
[root@s1802b2025ee sourcecommit]# git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .dockerignore
# Dockerfile
# app.js
# node_modules/
# package-lock.json
# package.json
nothing added to commit but untracked files present (use "git add" to track)
[root@s1802b2025ee sourcecommit]#
2
로컬 레파지토리에 커밋 한다.
푸시한다.
git commit -m “node code push”
git push -u origin +master
git status
다음 공부
https://brunch.co.kr/@topasvga/2363