본문 바로가기
Dev

[GitHub] GitHub ReadMe 꾸미기

by cosmog 2023. 7. 22.
반응형

GitHub에 메인 화면을 readme를 사용하여 꾸밀 수 있다는 것을 알게되었다.

다양한 것들이 많지만 사람들이 가장 많이 해놓는 GitHub Stats만 넣어보았다.

내 등급이 A이상이 되는 그날까지~

 

git에서 내 계정명과 동일한 repository 생성 & readme 파일 생성


일단 Git에서 내 계정명과 동일한 repository를 생성한다. add Readme file을 체크하여!

나는 이미 동일한 repository가 있기때문에 already exists라고 뜬다.

 

생성하면 readme.md파일만 들어있는 repository가 생성되고 Hi there만 들어있을 것이다.

 

GitHub Stats 추가


readme.md파일을 열어 아래 코드를 추가해주고 [사용자이름]에 본인 계정을 넣어주고, [원하는테마]에 원하는 테마를 넣어준다.

![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=사용자이름&show_icons=true&theme=원하는테마)

 

테마는 아래 링크에서 확인할 수 있다.

https://github.com/anuraghazra/github-readme-stats/blob/master/themes/README.md

 

반응형