VM 우분투 하나 꺼내서
**apt-get -y install lrzsz
#이거 하고 바탕화면에 있는거 드래그 해서 쉘창에 불러올 수 있음
안되면
쉘에서 영어 rz 입력하면 불러올 수 있음**
**ls
ansible aws awscliv2.zip awstest-main.zip ecs snap
unzip awstest-main.zip
ls
ansible aws awscliv2.zip awstest-main awstest-main.zip ecs snap
cd awstest-main/
root@ubuntu:~/awstest-main# ls
appspec.yml buildspec.yml index.html scripts test.jsp
# github에 올리기
root@ubuntu:~/awstest-main# git init
Initialized empty Git repository in /root/awstest-main/.git/
root@ubuntu:~/awstest-main# git config --global user.email "[email protected]"
root@ubuntu:~/awstest-main# git config --global user.name "HOPARKSUNG"
# 이 파일 전부 다 올리기
root@ubuntu:~/awstest-main# ls
appspec.yml buildspec.yml index.html scripts test.jsp
root@ubuntu:~/awstest-main# git add .
# 커밋 & 설명(멘션)
root@ubuntu:~/awstest-main# git commit -m "first commit"
# 원격 저장소 등록
# 저장소 이름 : origin
root@ubuntu:~/awstest-main# git remote add origin <https://github.com/HOPARKSUNG/awscode**>