Tag Archives: git

[git] “remote: error: refusing to update checked out branch: refs/heads/master” 케이스

By | 8월 25, 2020

좀 멍청한 짓이었는데, intellij 셋팅 후 clone 으로 프로젝트를 받아온 상태에서, 당연히 remote repository 가 clone 주소라고 생각하고 있었는데, remote branch 의 주소가 다름 아닌 local branch 의 주소였던 것이다. 그래서 push가 reject 가 된 것..   remote repository 의 주소를 원격지로 다시 설정하고 push를 하니 문제가 없었다.   (-_- )..    

[펌글] 이클립스 git (EGit) 사용시, git 암호(패스워드,password)를 변경하고 싶을 경우

By | 12월 18, 2019

– 출처: https://bigzero37.tistory.com/23 – svn 에서 git 으로 바꾼지 얼마 안되었는데 push 할 때 자꾸 github 계정과 암호를 물어본다… store secure 옵션을 체크하면 자꾸 에러가 나서 그냥 하다가 짜증 폭발…..구글링 했다.. 이클립스에서 Windows -> Preferences ->General -> Security ->Secure Storage 에 들어가면 Password 탭이 있는데 거기서 중간에 Description 에서 UI Prompt 를 선택하고 Change Password… Read More »

[링크] .gitignore 규칙/문법 정리

By | 6월 30, 2021

https://donggov.tistory.com/30 https://ktko.tistory.com/entry/gitignore%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC-%EA%B9%94%EB%81%94%ED%95%98%EA%B2%8C-git-Commit-%ED%95%B4%EB%B3%B4%EA%B8%B0 https://www.atlassian.com/git/tutorials/saving-changes/gitignore