Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What does the command git checkout branchname do?
Home
Git
What does the command git checkout branchname do?
+1
vote
asked
Jul 25, 2019
in
Git
by
SakshiSharma
What does the command git checkout branchname do?
Select the correct Answer from below list
(1)Commits the new branch
(2)Deletes the new branch
(3)Adds the new branch
(4)Switches from main branch to the new branch
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 25, 2019
by
Robindeniel
Switches from main branch to the new branch
Related questions
+1
vote
Q: What is the git command to move branch pointer to different commit without checkout ?
asked
Jul 26, 2019
in
Git Slack Integration
by
sheetalkhandelwal
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What does the GIT command 'git remote prune origin' do?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What does the command git add. do?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the GIT command to see all changes since the last commit ?
asked
Jul 25, 2019
in
Git
by
Robindeniel
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the command to delete a remote branch in GIT?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the GIT command to see all the remote branches?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the command to delete a branch in GIT?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the git command to directly create and move to a new branch?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the GIT command to create a branch?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
+1
vote
Q: What is the GIT command to skip staging and directly commit the changes directly ?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
...