Skip to content

Commit

Permalink
Add 2 questions to foundations (#205)
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksander Fidelus <63016446+FidelusAleksander@users.noreply.github.com>
  • Loading branch information
Andresmup and FidelusAleksander authored Apr 3, 2024
1 parent 6b72bb0 commit d7d335e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions content/questions/foundations/question-102.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 102"
question: "If there are multiple Readme.md files in a GitHub repository, what is the priority order to show them?"
draft: false
---


> https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes
1. [ ] Root directory, `.docs` directory, `.github` directory
1. [ ] `.docs` directory, Root directory, `.github` directory
1. [x] `.github` directory, Root directory, `.docs` directory
1. [ ] `.docs` directory, `.github` directory, Root directory
15 changes: 15 additions & 0 deletions content/questions/foundations/question-103.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
archetype: "questions"
title: "Question 103"
question: "Which of the following Git commands allow you to create a new branch and start working on it in one line? (Select two.)"
draft: false
---


> https://git-scm.com/docs/git-switch
- [x] git checkout -b `<new_branch_name>`
- [ ] git branch -c `<new_branch_name>`
- [x] git switch -c `<new_branch_name>`
- [ ] git merge -m `<new_branch_name>`
- [ ] git switch -m `<new_branch_name>`
- [ ] git checkout -m `<new_branch_name>`

0 comments on commit d7d335e

Please sign in to comment.