Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Flutter
- 안드로이드
- Dialog
- 앱바
- DART
- ScrollView
- Navigation
- activity
- android
- TEST
- intent
- livedata
- 계측
- tabbar
- data
- scroll
- viewmodel
- appbar
- Compose
- binding
- LifeCycle
- drift
- textfield
- textview
- Coroutines
- CustomScrollView
- 테스트
- Button
- 앱
- Kotlin
Archives
- Today
- Total
Study Record
[Git&GitHub] git config 설정 본문
728x90
※ --global : 전역 설정
설정값 확인
git config --list
git config --global --list
git config -e # 에디터에서 보기 CLI
# 에디터 편하게 보기
git config --global core.editor "code --wait"
git config -e
특정 프로젝트의 설정 이름/이메일 바꾸기
git config user.name "설정 이름"
git config user.email "설정 이름"
줄바꿈 호환 설정
git config --global core.autocrlf [윈도우: true | 맥 : input]
pull 기본 설정 - merge / rebase
git config pull.rebase false
git config pull.rebase true
기본 브랜치명 바꾸기
git config --global init.defaultBranch "브랜치명(main)"
단축키 설정
git config --global alias.co "checkout"
git config --global alias.cam "commit -am"
728x90
'Git' 카테고리의 다른 글
[Git&GitHub] 멋진 커밋 (0) | 2022.03.02 |
---|---|
[Git&GitHub] fetch vs pull (0) | 2022.03.01 |
[Git&GitHub] Head? (0) | 2022.03.01 |
[Git&GitHub] git의 3가지 공간과 git rm/mv/restore/reset (0) | 2022.03.01 |
[GitHub&Git] 원격 브랜치 다루기 (0) | 2022.03.01 |