본문 바로가기

Code/cloud & linux & git

(25)
[git] commit 을 했는데 contribution 그래프가 안채워진 경험 (private repository, email변경) 상황 다른 사용자의 private repository에 collaborator 로 등록되어 있고, git extentions을 사용하고 있었습니다. 그러던 중 깃허브 홈페이지에서 연동되어있는 계정을 변경하게 되었습니다. private repository 원래 private repository 는 contribution 그래프에 표시가 안됐는데, 언제 업데이트가 됐는지 이제는 설정을 하면 표시가 됩니다. Private contributions 를 클릭하면 됩니다. git extentions 제가 로컬에서 올리는 계정의 아이디와 계정을 다시 설정해줍니다. git config --global user.email "your_email@abc.com" git config --global user.email git..
[git] 원격 브랜치 삭제하기 git push origin --delete git add . 취소 git reset HEAD fatal: refusing to merge unrelated histories www.educative.io/edpresso/the-fatal-refusing-to-merge-unrelated-histories-git-error
[git] 처음 푸쉬하기 Github 푸쉬하기 깃허브에서 저장소를 생성하면, 몇가지 명령어들을 확인할 수 있습니다. git remote add origin https://github.com/githubid/repositoryname.git git branch -M main git push -u origin main 저는 create react-app 으로 프로젝트를 생성해서 git 이 자동으로 생성되어 git init 을 할 필요가 없었습니다. 위 명령어가 무슨 뜻인지 알아보겠습니다. origin 이라는 이름으로 내 원격저장소 주소를 설정합니다. 내 로컬 브랜치를 --move(-M) 을 이용해 main으로 변경합니다. (Default local branch: master) 근데 사실 이동하는 곳이없으니 이름이 변경됩니다. 원래는..
[GCP공부] Coursera: Google Cloud Platform Fundamentals: Core Infrastructure - Virtual Machines in the Cloud Module Introduction 배울거; How Google Compute Engine works with a focus on Google virtual networking. Virtual Machine 이라고 하는 이유는: 내가 다 구성할수 있기 대문이야 실제 머신처럼. (Power, GPU, Momory, CPu Power.. ) Virtual Private Cloud (VPC) Network VPC Network 기본: You can segment your networks, use firewall rules to restrict access to instances, and create static routes to forward traffic to specific destinations. 구글만..
[GCP공부] Coursera: Google Cloud Platform Fundamentals: Core Infrastructure - Getting Started with Google Cloud Platform Introduction 프로젝트를 조직화하고 관리하기 위해서 Google Cloud Identity and Access Management 를 사용해야 합니다.(IAM, IM) The principle of least privilege is very important This principle says that each user should have only those privileges needed to do their jobs. In a least-privilege environment, people are protected from an entire class of errors. A coworker of mine once accidentally deleted a running production d..
[GCP공부] Coursera: Google Cloud Platform Fundamentals: Core Infrastructure - Introducing Google Cloud Platform Introducing Google Cloud Platform GCP offers four main kinds of services - compute - storage - big data - machine learning 근데 이 강좌에서는 compute 랑 storage 만 다룬다고 합니다. what is cloud : cloud computing is a way of using I.T. that has these five equally important traits - 필요하면 아무때나 (on demand = 필요하면 즉시) 자원을 사용하고 '셀프' 서비스로 사용하는것 인간의 개입없이 - 이러한 지원에 anywhere 언제든지 network을 통해 접근할수 있어야 하는 것 - provider 는 큰 자..
GCP 자격증이란? GCP 구글 클라우드 플랫폼 자격증이 있다고 합니다. 저는 초보니깐 Associate Cloud Engineer 에 도전 해보겠습니다. 😀 Associate Cloud Engineer (ACE) 시험시간: 2시간 등록비용: $125 (후..) 유효기간: 2년 시험에 나오는 주제,범위를 알아야합니다(중요!) [링크] 여러 모의고사들이 있습니다. [링크] 외부 강의들을 이용해 키워 실력을 키웁니다. (코세라, 큌랩 등) 시험을 봅니다. 어떻게 공부해야할까? 강의도 많고, 범위도 넓고.. 도대체 어떻게 공부해야할지 한번 알아봤더니 대부분 아래내용으로 공부하는걸 확인할수 있었습니다. 1. 학습 - Official Study Guide 책 [링크] - Coursera 강의 - Qwiklabs 강의 2. 연습문제풀..
gitignore 문법 디렉토리 예외처리 temp/velbi/test.jpg 이럴때 velbi 디렉토리를 예외처리하고 싶으면 temp/velbi/ 가아닌 그냥 velbi/ 라고 적으면 무시된다.