IT양아치13 Git 초기 수행 git config --global user.name "사용자 이름"git config --global user.email "사용자 이메일"git config --global credential.helper store 2023. 1. 19. WSL 설치 (2024.10 update)① 관리자 모드로 powershell 실행$ wsl --install$ wsl --set-default-version 2② Ubuntu 22.04.5------------------------------- 예전 거 -----------------------------** WSL **: Windows Subsystem for Linux ( 윈도우에서 Linux 환경 사용 )PowerShell 관리자 권한으로 실행 후 명령어 실행wsl --install -d Ubuntu-20.04Ubuntu 20.04 설치 2023. 1. 19. Git 명령어 git branch exp → branch생성 git commit -am "my commit" → -a : add 옵션 ( 신규파일은 제외 하고 add ) git checkout main → 현재 branch에서 checkout 하고 main 으로 이동 git log --branches --decorate → branch 정보가 보여짐 git reset --hard HEAD → HEAD 의 버전으로 리셋 git log --branches --decorate --graph --oneline → decorate : branch 정보를 보여줌 → grapt : 그래프 형태로 보여줌 → oneline : 한줄로 단순한 형태로 보여줌 git merge exp master.. 2023. 1. 19. 이전 1 2 다음