https://docs.google.com/spreadsheets/d/1lvhNG1qCHHMKRu5rgjBYfk5bgx6jvldiNOX4QHqYyBA/edit?usp=sharing
git init
문제 설명
현재 디렉터리를 새로운 Git 저장소로 만들어주세요.
문제 상황
해당 없음.
정답
git init
정답 판별 기준
.git
디렉터리가 생겼는지 판별한다.
git config
문제 설명
현재 디렉터리의 Git 저장소 환경에서 user name과 user email을 여러분의 name과 email로 설정해주세요.
문제 상황
git init
git config user.name "MergeMaster"
git config user.email [email protected]
정답
git config user.name "유저 이름"
git config user.email 유저 이메일
정답 판별 기준
user.name
, user.email
이 MergeMaster
, [email protected]
이 아닌지 검사한다. 다르면 정답이다.
git add & git status
@박정제 docs 폴더 언급 수정 부탁드려요!!
문제 설명
현재 변경된 파일 중에서 `achitecture.md` 파일을 제외하고 staging 해주세요.
문제 상황
git init
mkdir docs
touch docs/plan.md
git add docs/plan.md
git commit -m 'docs: plan.md'
echo "hello world" > docs/plan.md
touch README.md
touch docs/architecture.md
정답
git status
git add README.md docs/plan.md
정답 판별 기준
.git/index
파일을 비교한다.