티스토리 뷰
프로젝트 관리를
깃랩으로 하는 경우
git fetch --all
git reset --hard origin/master
git pull origin master
https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/
The new Git default branch name
Why we're joining the Git community and updating "master" to "main".
about.gitlab.com
최근에 깃랩도 initial branch의 default 이름을 master -> main으로 바꿈
Every Git repository has an initial branch, which is the first branch to be created when a new repository is generated. Historically, the default name for this initial branch was master. This term came from Bitkeeper, a predecessor to Git. Bitkeeper referred to the source of truth as the "master repository" and other copies as "slave repositories". This shows how common master/slave references have been in technology, and the difficulty in knowing how the term master should be interpreted.
용어가 갖는 의미를 직관적으로 해석하기에 어렵기 때문인가봄.
깃헙으로 하는 경우
git fetch --all
git reset --hard origin/main
git pull origin main
'Git' 카테고리의 다른 글
| [Git] README에 컨트리뷰터의 프로필 이미지를 출력해보자 (0) | 2022.02.09 |
|---|---|
| [Git] 오픈소스 라이센스 배지 (0) | 2022.02.09 |
| Git Warning: CRLF will be replaced by LF in * (1) | 2021.03.13 |
| Git Global Setting 제거 (0) | 2020.12.01 |
| Github-계정내 모든 저장소(Repository) 다운로드(Clone) 방법 (1) | 2020.09.14 |
- Total
- Today
- Yesterday
- 위상 정렬 알고리즘
- 인공지능을 위한 선형대수
- PyCharm
- 자료구조
- 백준 11053
- 백준 1766
- 문제집
- 이분탐색
- FairMOT
- 백트래킹
- ㅂ
- 가장 긴 증가하는 부분 수열
- C++ Deploy
- 순열
- 단축키
- MOT
- cosine
- 조합
- Lowest Common Ancestor
- LCA
- 파이참
- 백준 11437
- 백준
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |

