일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Flask
- list
- PostgreSQL
- format
- pandas
- Linux
- Package
- KAKAO
- Mac
- Windows
- LLM
- TORCH
- pytorch
- GitLab
- Python
- enV
- DB
- file
- CUDA
- git
- Container
- docker
- evaluation
- AI
- Database
- Laravel
- Converting
- Paper
- judge
- numpy
Archives
- Today
- Total
Daily Develope
[Git] 기본 명령어 (init / Add / commit) 본문
ㅇ 목차
- 신규 생성/등록
- Add / Commit
- Merge (합병)
신규 생성/등록
git init
git add {file} # 업데이트할 파일 추가
git commit -m "{message}" # 업데이트시 기록할 메시지 등록
git remote add {remote_name} {remote_url} # remote_name으로 원격 저장소 주소 기록
git push -u {remote_name} {branch_name} # remote_name의 branch_name 업데이트
Add / Commit
ㅇ 전체 파일 일괄적으로 add 및 commit
git commit -a -m "{message}"
ㅇ Add된 파일 취소
git restore {file_name}
ㅇ Commit 취소
git reset HEAD {target_filename}
'Git' 카테고리의 다른 글
[Git] add 응용/명령어 정리 (0) | 2022.06.29 |
---|---|
[Git] 오류 정리 (0) | 2022.01.07 |
[Git] .gitignore 작성 (0) | 2022.01.07 |
[GitLab] YAML 파일 작성 예시 (Maven, JUnit 수행) (0) | 2022.01.07 |
[Git] Branch (조회 / 생성 / 삭제 / 변경 / 합병) (0) | 2022.01.07 |