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 |
Tags
- Flutter
- android
- textfield
- TEST
- LifeCycle
- Dialog
- data
- CustomScrollView
- 앱
- ScrollView
- appbar
- livedata
- scroll
- DART
- 계측
- activity
- intent
- textview
- 테스트
- drift
- viewmodel
- Coroutines
- Button
- Kotlin
- 안드로이드
- Navigation
- tabbar
- binding
- 앱바
- Compose
Archives
- Today
- Total
Study Record
[Git] 초기 설정 및 프로젝트 시작(vscode) 본문
728x90
1. git 초기 설정 - Git Bash
이름 변경
git config --global user.name
이메일 변경
git config --global user.email
브랜치 이름 변경
git config --global init.defaultBranch main
※ 원래는 브랜치 기본 이름이 master 였으나 단어가 주인이라는 뜻으로 오해의 여지가 있어 main 으로 바뀌었다.
2. 프로젝트 시작 - VS code
Git 저장소 생성
git init
Git 저장소로 사용하고 싶은 폴더에서 이 명령어를 수행하고 나면 .git 폴더가 생기는데 이것은 Git 저장소를 관리하는 폴더이다.
현재 상태 보기
git status
728x90
'Git' 카테고리의 다른 글
[Git] branch & switch (0) | 2022.02.16 |
---|---|
[Git] 과거로 돌아가는 방법(Reset vs Revert) (0) | 2022.02.16 |
[Git] add 와 commit(버전 생성) (0) | 2022.02.15 |
[Git] git 에 포함하지 않을 파일/폴더 설정 (0) | 2022.02.15 |
[Git] Git(버전 관리 시스템)을 배워야하는 이유 (0) | 2022.02.15 |