본문 바로가기
Programming/Git

[Git] Git Tips

by skyrun 2022. 10. 8.

Git User Setting

$ git config — global user.name “Your Name”

$ git config — global user.email you@example.com

 

Git check user

$ cat ~/.gitconfig

 

DS_Store File : Desktop Services Store

It is a file created when Mac os X system gets to finder for folders. “thumb.db” for Windows.

Delete .DS_Store :

find . -name .DS_Store -print0 | xargs -0 git rm -f — ignore-unmatch

.gitignore: Create a “.gitignore” File and add ignore file or directory in that .

'Programming > Git' 카테고리의 다른 글

[Git] Git Remote 변경하기  (0) 2022.10.17
[Git] Connect to Github  (0) 2022.10.09
[Git] Branch Command  (0) 2022.10.08
[Git] Git Version Command  (0) 2022.10.08
[Git] Linux Command  (0) 2022.10.08

댓글