how to delete local master branch in git
$ git remote -v
# View current remotes
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)
> destination https://github.com/FORKER/REPOSITORY.git (fetch)
> destination https://github.com/FORKER/REPOSITORY.git (push)
$ git remote rm destination
# Remove remote
$ git remote -v
# Verify it's gone
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)git remote rm destination$ git push <remote_name> :<branch_name>git deletegit branch -d branch_namegit branch -D branch_name
Also in C++:
- bash return unique lines starting at nth field
- unfork a repository github
- how to store git credentials
- start apache service
- git remove remote tags
- udpate node terminal windows
- perl install Switch
- sleep command bash
- ubuntu diff directories
- chmod 400 command meaning
- get Operating system command
- linux show groups
- check ssd or hdd linux
- bash how to create directories in all subdirectories
- grep line after match
- download latest stable solc ubuntu
- install fontforge linux
- cmdchange directory with space
- How to export a GPG private key to a file
- raspberry pi install vscode via command line
- refresh branch list git
- remove windows folder from old drive
- install libreoffice ubuntu 18.04
- git commit and add in one command