Skip to content

Commit

Permalink
chore: 누락된 ref값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
flydog98 authored and LuizyHub committed Dec 11, 2023
1 parent a55945b commit 7d67ad3
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions packages/backend/git-challenge-quiz.csv
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
id,title,description,category,keyword,answer,graph,ref
id,title,description,category,keyword,answer,graph,ref
1,git 시작하기,현재 디렉터리를 새로운 Git 저장소로 만들어주세요.,Git Start,init,`git` init,"{
""graph"": []
}",
}",
2,내 정보 설정하기,현재 디렉터리의 Git 저장소 환경에서 user name과 user email을 여러분의 name과 email로 설정해주세요.,Git Start,config,"`git` config user.name ""유저 이름""\n`git` config user.email 유저 이메일","{
""graph"": []
}",main
}",main
3,파일 스테이징 하기,현재 변경된 파일 중에서 `achitecture.md` 파일을 제외하고 staging 해주세요.,Git Start,"status, add",`git` status\n`git` add README.md docs/plan.md,"{
""graph"": [
{
Expand All @@ -14,7 +14,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": ""HEAD -> main""
}
]
}",main
}",main
4,커밋하기,현재 디렉터리 내의 모든 파일을 commit 해주세요.,Git Start,commit,`git` add .\n`git` commit,"{
""graph"": [
{
Expand All @@ -24,7 +24,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": ""HEAD -> main""
}
]
}",main
}",main
5,브랜치 만들기,`dev`라는 이름의 branch를 생성해주세요.,Git Start,"branch, switch, checkout",`git` branch dev\n`git` switch -c dev\n`git` checkout -b dev,"{
""graph"": [
{
Expand All @@ -40,7 +40,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",main
}",main
6,브랜치 바꾸기,현재 상황을 commit하고 `main` branch로 돌아가주세요.,Git Start,switch,`git` add .\n`git` commit\n`git` switch main,"{
""graph"": [
{
Expand All @@ -56,7 +56,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",dev
}",dev
7,커밋 메시지 수정하기,"당신은 프로젝트에서 회원가입, 로그인, 회원탈퇴 기능을 담당하게 되었습니다.
먼저 회원가입 기능을 구현한 다음 테스트 코드를 작성하고 commit을 생성했습니다.
그런데 commit에 테스트 파일이 포함되지 않았으며, commit message가 ""회원가입 긴ㅇ 구현""으로 오타가 났습니다.
Expand All @@ -81,7 +81,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",feat/somethingB
}",feat/somethingB
8,커밋 취소하기,"당신은 회원가입 기능 구현과 테스트 코드를 작성해 ""회원가입 기능 구현"" commit을 생성했습니다.
그러나 ""회원가입 기능 구현""과 ""회원가입 테스트 코드 작성"" 두 개의 commit으로 나누려고 합니다.
""회원가입 기능 구현"" commit을 취소하고 `signup.js` 파일로 ""회원가입 기능 구현"" commit을, `signup.test.js` 파일로 ""회원가입 테스트 코드 작성"" commit을 순서대로 생성해주세요.",Git Advanced,"reset, add, commit",`git` reset HEAD~1\n`git` add signup.js\n`git` commit -m '회원가입 기능 구현'\n`git` add signup.test.js\n`git` commit -m '회원가입 테스트 코드 작성',"{
Expand All @@ -105,7 +105,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",feat/somethingB
}",feat/somethingB
9,파일 되돌리기,"당신이 코드를 작성하던 중에 실수로 `important.js` 파일을 수정해 변경 사항이 생겼습니다.
해당 파일을 최근 `commit` 상태로 되돌려주세요.",Git Advanced,restore,`git` restore important.js,"{
""graph"": [
Expand Down Expand Up @@ -134,7 +134,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",feat/somethingB
}",feat/somethingB
10,파일 삭제하기,당신은 추적되지 않는 임시 파일을 세 개 만들었습니다. 임시 파일을 모두 삭제해주세요.,Git Advanced,clean,`git` clean -f tmp.js\n`git` clean -f tmptmp.js\n`git` clean -f tmptmptmp.js,"{
""graph"": [
{
Expand Down Expand Up @@ -162,7 +162,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",feat/somethingB
}",feat/somethingB
11,변경 사항 저장하기,"당신이 로그인 기능을 구현하던 중 급하게 버그 픽스 요청이 들어왔습니다.
새로운 branch를 생성해서 작업하려 했지만, 변경 사항이 있어 branch 이동이 불가능합니다.
현재 기능 구현이 완료되지 않아 commit하는 것이 껄끄럽기 때문에 commit 없이 변경 사항을 보관하고, ""A 기능 구현"" commit으로 돌아가 `hotfix/fixA` 브랜치를 생성해주세요.",Git Advanced,"stash, log, checkout, switch","`git` stash\n`git` log\n`git` checkout <""A 기능 구현"" 커밋 해시값>\n`git` switch -c hotfix/fixA","{
Expand Down Expand Up @@ -198,7 +198,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",feat/somethingB
}",feat/somethingB
12,커밋 가져오기,"당신은 버그를 해결한 후 ""버그 수정"" commit을 생성했습니다.
`hotfix/fixA` branch에서 작업을 해야 하는데 실수로 `feat/somethingB` branch에서 작업 했습니다.
`feat/somthingB` branch 에서 ""버그 수정"" commit을 `hotfix/fixA` branch로 가져오고, `hotfix/fixA` branch를 `main` branch로 merge해주세요.
Expand Down Expand Up @@ -235,7 +235,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",feat/somethingB
}",feat/somethingB
13,커밋 이력 조작하기,"당신은 로그인 기능과 회원 탈퇴 기능 구현을 마쳤습니다.
`main` branch로 merge하기 전에 commit log를 확인해보니 다음과 같이 commit message에 오타가 났습니다.

Expand Down Expand Up @@ -292,7 +292,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",feat/somethingB
}",feat/somethingB
14,변경 사항 되돌리기,"회원가입, 로그인, 회원 탈퇴 기능 구현을 끝내고 `feat/somethingB` branch를 `main` branch로 merge했습니다.
그런데 실수로 ""사용자 프로필 기능 구현"" commit까지 `main` branch에 merge 되었습니다.
`main` branch는 다른 팀원들과 협업하는 branch라 기존 commit 기록이 변경되면 안 됩니다.
Expand Down Expand Up @@ -359,7 +359,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",main
}",main
15,원격 저장소 등록하기,"당신은 새로운 팀에 배정되었습니다. 이제부터 전임자의 일을 이어서 진행해야 합니다.

배정된 팀의 저장소 전략은 다음과 같습니다.
Expand All @@ -375,7 +375,7 @@ id,title,description,category,keyword,answer,graph,ref

* 저장소를 가져올 때 현재 디렉터리로 가져와주세요.('.' 표현을 이용해야 합니다)",Remote Start,"clone, remote",`git` clone /origin .\n`git` remote add upstream /upstream,"{
""graph"": []
}",
}",
16,브랜치 생성하고 이동하기,"당신은 ""somethingA""라는 기능을 구현하기 위한 branch를 생성하고자 합니다. 팀의 컨벤션에 따라 브랜치의 이름은 `feat/somethingA`입니다.
`feat/somethingA`라는 이름의 branch를 생성하고 해당 branch로 이동해주세요.",Remote Start,"switch, checkout",`git` switch -c feat/somethingA\n# or\n`git` checkout -b feat/somethingA,"{
""graph"": [
Expand All @@ -392,7 +392,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",
}",main
17,브랜치 최신화하기,"당신이 개발한 기능을 포함한 모든 기능들이 `origin` 저장소의 `main` branch에 합쳐졌습니다.
그리고 당신은 `origin` 저장소의 `main` branch에서의 구현 결과를 다른 사람들에게 공유하고자 합니다.

Expand All @@ -409,7 +409,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": ""HEAD -> main, origin/main, origin/HEAD""
}
]
}",main
}",main
18,원격 저장소로 보내기,"당신은 새로운 팀에 배정되었고, 이제 막 첫 기능 개발을 완료했습니다.

배정된 팀의 저장소 전략은 다음과 같습니다.
Expand Down Expand Up @@ -486,7 +486,7 @@ id,title,description,category,keyword,answer,graph,ref
""refs"": """"
}
]
}",main
}",feat/merge-master
19,브랜치 삭제하기,"당신은 개발을 완료한 뒤 push한 commit들을 기반으로 Github 상에서 PR을 생성했고, 해당 PR은 성공적으로 merge 되었습니다.
merge된 branch를 포함해서 현재 로컬 저장소에는 필요 없는 branch들이 있습니다.
이제는 필요 없어진 branch들을 확인하고 모두 삭제해 주세요.",Remote Start,"switch, branch",# merge 된 브랜치 확인\n`git` branch --merged\n`git` branch -d feat/somethingA\n`git` branch -d feat/somethingB,"{
Expand Down

0 comments on commit 7d67ad3

Please sign in to comment.