목록ALL (43)
IT could be

1. ssh 접속 bash ssh ubuntu@ec2도메인 -i ~/Downloads/.pem Xshell 새 세션 만들기에서 세션 이름 지정해주고 호스트에는 ec2 인스턴스의 퍼블릭 IPv4 DNS를 넣어준다. 연결버튼을 누르고 수락 버튼 클릭 .pem 키 넣어주기 접속 완료 2. Docker 설치 bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" oh-my-bash 설치 (필수 아님 ! ) sudo su - apt update apt install maven sudo apt-get update -y sudo apt-get install \ apt-transport-htt..
1. 원격 저장소에 push 하기 git init git add git commit -m "first commit" git branch -M main git remote add origin git push origin main 2. 공동 작업할 때 pull 받고 push 하기 git branch git checkout git pull origin main git add git commit -m "" git push origin + Git hub 들어가서 pull request

1. git rebase git rebase HEAD~n -i 2. message 수정할 commit reword로 변경하기 i 눌러서 INSERT 모드에서 commit message 앞에 있는 pick 을 reword로 변경하고 esc -> wq -> enter 3. commit message 수정 commit message 수정하고 esc -> wq -> enter 4. push하기 git push origin 브랜치명 -f commit message 수정 완료 !