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 is the command to delete a branch in your remote repository?
Home
Git
What is the command to delete a branch in your remote repository?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
(
23.9k
points)
What is the command to delete a branch in your remote repository?
a) git delete branchname
b) git branch -d branchname
c) git push origin -d branchname
d) None of the options
git-delete
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 13, 2022
by
rajeshsharma
(
23.9k
points)
c) 'git push origin -d branchname' is the command to delete a branch in your remote repository
Related questions
+1
vote
Q: What is the command to delete a remote branch in GIT?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
(
32.2k
points)
#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
(
32.2k
points)
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
0
votes
Q: In Git, if you want to make your local repository reflect changes that have been made in a remote (tracked) repository, you should run the pull command
asked
Mar 17, 2021
in
GitHub
by
rajeshsharma
(
23.9k
points)
github
github-local-repository
+1
vote
Q: How to Delete a local and a remote GIT branch?
asked
May 14, 2019
in
C Plus Plus
by
BravoChamp
(
33
points)
git
0
votes
Q: How do I delete a Git branch locally and remotely?
asked
Jan 9, 2021
in
Git
by
SakshiSharma
(
32.2k
points)
git
version-control
git-branch
git-push
git-remote
0
votes
Q: How can we delete a Git branch locally and remotely?
asked
Jan 6, 2021
in
Git
by
GeorgeBell
(
5.1k
points)
git
0
votes
Q: To delete a branch what is the command that is used?
asked
Apr 18, 2020
in
Git Slack Integration
by
SakshiSharma
(
32.2k
points)
#git-branch-delete
+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
(
32.2k
points)
#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
(
32.2k
points)
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
0
votes
Q: Which command can you use to update remote refs with local refs?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
(
23.9k
points)
remote-refs
local
refs
+1
vote
Q: What is the GIT command to see all the remote branches?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
(
32.2k
points)
#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
(
32.2k
points)
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
0
votes
Q: Which type of remote URL does not require your user-name and password while for cloning or pushing?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
(
23.9k
points)
remote-url
clone-password
0
votes
Q: When you run git fetch from my local repo, will it update your local code and target branch?
asked
Feb 13, 2022
in
Git
by
rajeshsharma
(
23.9k
points)
git-fetch
target-branch
+2
votes
Q: After performing several commits, or cloning a repository with an existing commit history, if you want to look back to see what has happened, what command will you use?
asked
Jul 25, 2019
in
Git
by
SakshiSharma
(
32.2k
points)
#developer-git
#git
#git-commands
#git-checkout
#git-reset
#git-branch
#what-is-git
#git-pull
git-diff
...