Git
-
git .gitignore 적용 오류, 히스토리 삭제Git 2023. 11. 8. 10:47
application-oauth.proerties에 client-id, client-secret 값이 포함되어 있어 gitignore에 해당 파일명을 추가하였다. 추가 후 push 했지만 ignore가 적용되지 않고 git에 application-oauth.proerties 파일이 올라간 상황 .gitignore .gradle .idea application-oauth.properties application-oauth.proerties spring.security.oauth2.client.registration.google.client-id=xxxxxxxxxx spring.security.oauth2.client.registration.google.client-secret=xxxxxxxxxx sprin..
-
README.md (마크다운) 링크 연결하기Git 2021. 10. 25. 21:32
* 깃허브 readme 파일에 링크 걸기 [표시할 내용] (링크) - 적용 예시 - 적용 결과
-
깃허브 failed to push some refs to 'https://github.com/~.git' 에러Git 2021. 1. 30. 20:45
failed to push some refs to 'https://github.com/~.git' 에러 - 오류 원인 · 깃허브에서 readme.md 파일을 생성한 후 local에서 pull을 안한 상태로 작업을 진행했기 때문에 발생 · remote 버전과 로컬의 버전이 달라서 충돌(conflict) - 해결 방법 (1) $ git push -u origin +master 강제적으로 push -> 강제로 push를 진행한 repository의 모든 작업이 다 날아가고 해당 파일만 남게 될 수 있으니 주의 - 해결 방법 (2) $ git pull origin master 원격저장소의 데이터를 pull 하여 commit 시점을 맞춤 - 해결 방법 (3) $ git push -f origin master co..
-
깃허브 페이지 배포 오류 해결법Git 2021. 1. 18. 22:29
stackoverflow.com/questions/51726977/react-app-deploy-failure-on-github React app deploy failure on github Can Anyone help me out that how can i deploy my react app on github. I have added all required dependecny in my package.json file with using of updated react modules. Below is my package.json file... stackoverflow.com
-
깃허브 파일 업로드Git 2020. 12. 30. 23:01
(1) git init : git Repositiry 생성 (2) git status (3) git add * : 원하는 폴더나 파일을 git에 추가 (*: 모두) (4) git commit -m "메세지" (5) git remote add origin (원격저장소 주소) (붙여넣기 단축키 Shift + Insert) git remote 명령어를 통해 로컬 저장소의 변동사항을 원격 저장소와 연동 (origin-원격 저장소의 별칭) (6) git push origin master 모든 변동사항이 원격 저장소 github에 업로드 (master-브랜치명)