본문 바로가기

Code/cloud & linux & git

(25)
Git 커밋 로그 수정 가장 최근의 commit 수정 git commit --amend https://velog.io/@mayinjanuary/git-%EC%BB%A4%EB%B0%8B-%EB%A9%94%EC%84%B8%EC%A7%80-%EC%88%98%EC%A0%95%ED%95%98%EA%B8%B0-changing-commit-message [git] 커밋 메세지 수정하기 (changing commit message) 로컬에 있는, 혹은 리모트에 이미 올라간 commit message 를 수정하는 방법을 알아봅니다. 가장 최신의 commit 을 수정하는 방법과, 더 오래된 commit 을 수정하는 방법을 알아봅니다. velog.io
git log 예쁘게 git config --global alias.logs "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit" git logs 하면 뜸
내가 마주친 Git 명령어 원격 pull 동료가 로컬에서 features/mobile-header를 작업끝내고 원격에 올렸다. (remote/origin/features/mobile-header) 그럼 내가 내가 로컬에서 features/desktop-header 을 작업하다가 git pull origin/features/mobile-header 로 땡기면 내거랑 자동으로 머지가 된다. 그리고 여전히 features/desktop-header 이면서 동료의 브랜치가 머지가 된 상태가 된다. (충돌없을시) 내 생각엔, 동료 브랜치를 pull로 땡기고, 내거를 fast-foward 머지된것 같다. 어느새 티스토리도 이모티콘 생겼다 ㄷㄷ
postgre and pg www.postgresql.org/download/linux/debian/ PostgreSQL: Linux downloads (Debian) Linux downloads (Debian) PostgreSQL is available in all Debian versions by default. However, the stable versions of Debians "snapshot" a specific version of PostgreSQL that is then supported throughout the lifetime of that Debian version. The PostgreSQL pr www.postgresql.org wiki.postgresql.org/wiki/First_steps First ..
su 초기 비번 설정 linuxize.com/post/wget-command-examples/ Wget Command in Linux with Examples GNU Wget is a command-line utility for downloading files from the web. linuxize.com sudo passwd 명령어를 통해 root 비번을 설정 sudo passwd sudo passwd root 다름 리부트 해야함 -- www.postgresql.org/download/linux/debian/ PostgreSQL: Linux downloads (Debian) Linux downloads (Debian) PostgreSQL is available in all Debian versions by default...
Download golang in linux www.cyberciti.biz/faq/how-to-install-gol-ang-on-ubuntu-linux/ How to install Go [golang] on Ubuntu Linux - nixCraft Explains how to install the latest Go (Golang) version on Ubuntu Linux and write your first "Hello World" app. www.cyberciti.biz MEthod 3
gcp 해보기 (ce 배포) kooku.netlify.app/cloud/(gcp)-vm-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4-%EC%83%9D%EC%84%B1-&-react-%EB%B0%B0%ED%8F%AC/ (GCP) VM 인스턴스 생성 & React 배포 1. VM 인스턴스 설치 & 실행 GCP에 들어간 후 새로운 프로젝트를 만들어 줍니다. 프로젝트명은 TestServer로 하겠습니다. 프로젝트를 만든 후 만든 프로젝트 페이지로 넘어갑니다. 새로 만든 프로젝트 kooku.netlify.app 이거 보고 하니깐 그냥 됨.
[git] Logon failed, use ctrl+c to cancel basic credential prompt git 갑자기 git push 할때마다 github 로그인 하라고 창이 뜹니다. 한번 로그인 하면 자격증명 관리자가 정보를 가지고 있어서, github 로그인 창이 안떠야 하는데.. 알고보니 로그인을 하니 자꾸 Logon failed, use ctrl+c to cancel basic credential prompt 이라고 뜹니다. 알고보니 로그인에 계속 실패하고 있었습니다. 그리고 푸쉬할때마다 prompt로 아이디랑 비번을 계속 입력해줘야 합니다. 이렇게 해야 푸쉬가 됩니다. 하지만 매번 푸쉬할때마다 아이디랑 비번을 입력하는게 쫌 그렇습니다. git update-git-for-windows 검색을 해서 알아보니 git을 최신버전으로 업데이트하면 이런 문제가 사라진다고 합니다. 업데이트를 하니 정말사라졌습..