-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 2 questions to foundations (#205)
Co-authored-by: Aleksander Fidelus <63016446+FidelusAleksander@users.noreply.github.com>
- Loading branch information
1 parent
6b72bb0
commit d7d335e
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>` |