Skip to content

Commit

Permalink
Git quiz correction (#4127)
Browse files Browse the repository at this point in the history
* Update README.md

Correct Git Q&A values

* Update git-quiz.md

Q2 had 2 answers checked, 'git remote add new' does nothing on its own.
  • Loading branch information
jefferies917 authored Aug 1, 2022
1 parent 28abe0c commit 4ea2925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ want to contribute? here is the source code https://github.com/linkedin-faq
| [.NET Framework](dotnet-framework/dotnet-framework-quiz.md) | | | 63 | 59 | [@declarck](https://github.com/declarck) |
| [Eclipse](eclipse/eclipse-quiz.md) | ❗needs updating | | 36 | 28 | |
| [Front-end Development](front-end-development/front-end-development-quiz.md) | | | 68 | 68 | [@vanekbr](https://github.com/vanekbr), [@ShankS3](https://github.com/ShankS3), [@declarck](https://github.com/declarck) |
| [Git](git/git-quiz.md) | | | 103 | 103 | [@Amsal1](https://github.com/Amsal1) |
| [Git](git/git-quiz.md) | | | 126 | 126 | [@Amsal1](https://github.com/Amsal1) |
| [Go (Programming Language)](go/go-quiz.md) | | | 40 | 40 | [@ruslanbes](https://github.com/ruslanbes), [@monkrus](https://github.com/monkrus) |
| [Google Ads](google-ads/google-ads-quiz.md) | | | 29 | 25 | |
| [Google Analytics](google-analytics/google-analytics-quiz.md) | | | 81 | 81 | |
Expand Down
5 changes: 2 additions & 3 deletions git/git-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@

#### Q2. What command lets you create a connection between a local and remote repository?

- [x] git remote add new
- [ ] git remote add new
- [x] git remote add origin
- [ ] git remote new origin
- [ ] git remote origin

The command is git remote add. The new added connection can be named origin or new. The only constraints, although it is not documented AFAIK, is that the connection name needs to be acceptable to git-check-ref-format, and it cannot be repeated.
If the LinkedIn assessment asks this and you can choose just one option, then leave feedback.
[Reference](https://stackoverflow.com/questions/20291731/how-to-connect-to-a-remote-git-repository)

#### Q3. Describe what these Git commands do to the commit history:

Expand Down

0 comments on commit 4ea2925

Please sign in to comment.