CM/Github(7)
-
local에서 개발한 소스 github에 올리는 방법!
우선 github에 Repository를 만들어줍니다.(Readme는 만들지X) 아래처럼 가이드를 해주는데 따라하시면 됩니다. 저의 경우 git remote add origin을 통해 원격설정을 해주고 git push를 통해서 push해주었습니다!
2024.01.13 -
github password를 안물어볼때;;(잘못된 패스워드 넣었음!)
github에서 비밀번호를 토큰으로 관리를 하는데.. 비밀번호를 잘못넣었는데 password를 물어보지 않을때..! 대략 난감할때! 맥북에서는 유틸리티 > 키체인 접근.app을 통해서 삭제해줘야 합니다. 로그인쪽에서 해당 github을 찾아서 삭제!
2024.01.13 -
github remote: Support for password authentication was removed on August 13, 2021.
git push를 하는데 오류가 났습니다. 지원을 하지 않는다는 내용이네요 ㅋㅋ 개인github에는 정말 오랫만에 push를 하려는거라;; 2024년도에 2021년도 authentication오류가 나는군요 ㅎㅎ Username for 'https://github.com': pthahaha Password for 'https://pthahaha@github.com': remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#clonin..
2024.01.13 -
git - 중요한 file을 모르고 push했을땐?
1. 임의로 test.pem을 생성하여 push하였다. 2. test.pem이 알고봤더니 정말 중요한 파일 이였다! 예를 들어 나의 비밀번호들이 저장되어있다..!! 3. 삭제를 하기 위해서는 아래와 같은 git filter-branch명령어를 사용 합니다. git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch src/main/resources/test.pem' --prune-empty -- --all git rm --cached는 원격지 브랜치에 있는 파일을 삭제 해줍니다. git rm 로컬과 원격지 둘다 삭제. 여기에는 로컬에는 남아있어도 되지만 원격지에 올라가면 안되기때문에 --cached 옵션을 사용한 것이다. --ignore-..
2022.03.03 -
git push error
git에 push를 하려는데 아래와 같은 오류 발생! rejected!! 대~충 읽어보니 git push전에 git pull을 하라고 한다 git push -u origin master To https://github.com/pthahaha/rest-api-study.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://github.com/pthahaha/rest-api-study.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Inte..
2022.02.25 -
sourceTree 새로 설치 한 후 password를 지속적으로 묻는 경우
github > SSH and GPG keys를 설정해줬는데도 자꾸 패스워드를 물었다... cmd창에서 git config --global credential.helper osxkeychain 이 명령어를 통해 해결 하였다. 굳!
2019.06.04