Week 4 – Collaboration Post author:Devendra Kumar Post published: Post comments:0 Comments introduction to git and github week 4 Practice Quiz: Pull Requests 1. What is the difference between using squash and fixup when rebasing? Answers Squash deletes previous commits.Squash combines the commit messages into one. Fixup discards the new commit message.Squash only works on Apple operating systems.Fixup combines the commit messages into one. Squash discards the commit message. 2. What is a pull request? Answers The owner of the target repository requesting you to add your changes.A request sent to the owner and collaborators of the target repository to pull your recent changes.A request to delete previous changes.A request for a specific feature in the next version. 3. Under what circumstances is a new fork created? Answers When you want to experiment with changes without affecting the main repository.When you clone a remote repository to your local machine.During a merge conflict.When there are too many branches. 4. What combination of command and flags will force Git to push the current snapshot to the repo as it is, possibly resulting in permanent data loss? Answers git push -fgit log –graph –oneline –allgit statusgit rebase -i 5. When using interactive rebase, which option is the default, and takes the commits and rebases them against the branch we selected? Answers squasheditrewordpick Next Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Devendra Kumar Project Management Apprentice at Google You Might Also Like Week 4 – Share metrics and insights with stakeholders The Transport and Application Layer – Shuffle Q/A 1 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.