
# 원인 :해당 아이피 권한이 없어서 그런것. #해결 방법 :C:\Program Files\PostgreSQL\12\data 경로에서 pg_hba.conf를 열어host all all 0.0.0.0/0 md5 추가 or 원하는 아이피만 추가 하기
해결 방법 1. rm -rf .git/ 2. git init 3. git commit -m "Commit message" 4. git remote add origin 레포지터리 주소 5. git push -f origin main
1. 새로운 second branch 생성git checkout -b "second" 2. 현재 git branch 확인git status 3. 변경된 내용 추가git add . 4. commitgit commit -m "두번째 계정으로 commit" 5. git remote에 반영git push origin second
터미널 창에 1. git 초기화git init 2. repository 연결git remote add origin http://localhost:3000/Team.DandyDev/report-service.git (깃주소) 연결된 git fetch/ push 주소 확인git remote -v 3. 브랜치 대상으로 check outgit checkout -b main 4. repository 원격 브랜치로 commit, push 하기 => git repository에 올리기git add .git commit -m 'first'git push origin main 이렇게 진행시 새로운 repository에 원격 브랜치 main 생성되며 업로드 됨.