기타

기타

[git] intelliJ에서 git 유저 정보 변경하기

깃헙 계정을 여러개 사용할 때, intelliJ에서 유저정보가 다를 경우 커밋 로그가 남지 않는 등의 문제가 생기는 경우가 있다. intelliJ에서 간단하게 유저정보를 변경하여 문제를 해결하자. -- 유저 정보 변경하기 git config --local user.name hyunbenny git config --local user.email hyunbenny@naver.com -- 확인 git config user.name git config.user.email

기타

사용 중인 포트 죽이기

1. 포트 죽이기 1) MacOS a. pid 확인하기 sudo lsof -i:[port] b. port 죽이기 kill - 9 [pid] 2) Windows a. pid 확인하기 netstat -ano b. port 죽이기 taskkill /f /pid [pid] 2. 프로세스 확인 방법 1) MacOS ps -ef ps -ef | grep [찾을 프로세스 명] 2) Windows tasklist | findstr | [pid] tasklist /v | findstr [찾을 프로세스 명] ex) tasklist /v | findstr java

github.com/hyunbenny/study
'기타' 카테고리의 글 목록