git 4

Github markdown README badge

Readme.md Badges다음과 같이 프로젝트 README 또는 개인 프로필 README에 badge를 추가할 수 있다   만드는 방법shields.io에서 badge를 만들 수 있다https://shields.io/badges Static Badge | Shields.ioOne of the named logos (bitcoin, dependabot, gitlab, npm, paypal, serverfault, stackexchange, superuser, telegram, travis) or simple-icons. All simple-icons are referenced using icon slugs. You can click the icon title on simple-icons to copy ..

git 2024.05.22

git 명령시 한글이 숫자로 보이는 문제

한글이 숫자로 보이는 문제MAC os에서 git을 이용하던 중 한글이 숫자로 변해서 보이는 문제가 생겼다.  문제 해결이를 해결하기 위해 다음 코드를 입력한다.git config --global core.quotepath false 이후 한글이 정상적으로 보이는 걸 확인할 수 있다.  공식 문서git 문서에 다음 내용을 참고해보자.  참고http://git-scm.com/docs/git-confighttp://git-scm.com/docs/git-config Git - git-config DocumentationWhen using the deprecated [section.subsection] syntax, changing a value will result in adding a multi-line ke..

git 2024.05.20

git cache 삭제

캐시 삭제.gitignore에 폴더나 파일을 추가했지만 반영이 안 되는 경우가 있다.이럴 때 cache를 삭제해 문제를 해결할 수 있다.아래와 같은 명령어로 캐시 삭제를 수행한다.git rm -r --cached .git add .git commit -m "캐시 삭제"  또는 다음과 같이 한 파일만 cache를 삭제한다.git rm --cached FILENAME  공식문서다음과 같이 공식문서를 보면 명령어를 확인할 수 있다. 해석은 다음과 같다더보기gitignore 파일의 목적은 Git에서 추적하지 않는 특정 파일이 추적되지 않은 상태로 유지되도록 하는 것이다현재 추적 중인 파일의 추적을 중지하려면 git rm --cached를 사용하여 인덱스에서 파일을 제거한다그런 다음 파일 이름을 .gitignor..

git 2024.05.19