티스토리 뷰
[업데이트 2018.11.03 20:57]
Git에서 파일을 추가하려고 할때 git status로 상태를 확인해보면 추가할 대상으로 파일이 인식이 안될때가 있는데, 아래와 같이 --force 명령어를 사용하여 추가하면 목록에서 보이고 commit을 할 수 있게 됩니다.
# 파일 추가
git add --force test/test.cpp
# 폴더 및 하위 폴더/파일 추가
git add --force test/
* 참고
[1] https://superuser.com/questions/583673/cant-add-folder-in-git
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Jekyll and Hyde
- sentence test
- docker
- Memorize
- #REST API
- 도커
- some time ago
- ILoop Engine
- Ragdoll
- Sea Bottom
- Worry
- 2D Game
- #ApacheSpark
- Library
- aws #cloudfront
- project
- OST
- #ApacheZeppelin
- Meow
- ate
- Game Engine
- belief
- English
- #ELK Stack
- Mask R-CNN
- Physical Simulation
- #TensorFlow
- Badge
- GOD
- SSM
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함