cmd 대신 사용하는 powershell 의 prompt에서 git branch확인

※ 참고 (2026년 기준) oh-my-posh 의 PowerShell 모듈 설치 방식은 폐지되었다. winget install JanDeDobbeleer.OhMyPosh 로 설치하고, $PROFILE 에 Import-Module posh-git 과 oh-my-posh init pwsh | Invoke-Expression 두 줄을 넣는다.

admin 권한으로

 

답글 남기기

이 사이트는 Akismet을 사용하여 스팸을 줄입니다. 댓글 데이터가 어떻게 처리되는지 알아보세요.