A developer needs to create a new Git branch named feature/login and immediately switch to it in a single command. Which command is correct?
git branch feature/login && git checkout feature/logingit checkout -b feature/logingit switch feature/logingit branch -m feature/loginMore Automation, Orchestration, and Scripting Questions
16 questions
Full CompTIA Linux+ Practice Test
All topics covered
All CompTIA Linux+ Questions
Browse by topic
Related Questions
In Ansible, which file defines the list of managed hosts (IP addresses or hostnames) that playbooks ...
What is the purpose of the shebang line `#!/bin/bash` at the very first line of a shell script?...
An administrator writes an Ansible playbook to install the `httpd` package on RHEL 9 target hosts. W...
A Python developer needs to isolate project dependencies from the system Python installation. Which ...
A bash script needs to check whether the last command executed successfully. Which special shell var...
Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy
Discussion
Be the first to share your understanding of this concept
Sign in to join the discussion