how to delete a git repository
How to delete a channel from a Git Repository
- Introduction
- Generic channel deletion process
- Delete a Github channel
- Delete a Bitbucket channel
Introduction
How to delete a channel from a Git Repository: There are two stages to the process: Hiding the channel so it is no longer available to import, and cleaning up the repo by deleting the project files that the channel was using.
First you should delete the ChannelConfiguration.xml file from the Git repo, this will hide the channel so it no longer shows up in the Import Channels screen.
Next you can delete all the non-shared project files (not shared and other) for the channel. This step is optional, but recommended to keep your repository tidy.
Warning: Do not delete shared or other files if they are still be used by another channel.
If you accidentally delete files for another channel you will not be able to import it (it will give an error about not be able to find file dependencies).
Generic channel deletion process [top]
This process assumes that you are familiar with whatever version of Git you are using.
- Logon to Git.
- Hide the channel:
- Delete the …/<your repo>/Channels/<Iguana channel name with guid>/ChannelConfiguration.xml file.
- Delete Channel files:
- Delete all the files in …/<your repo>/<Iguana channel name with guid>/
Delete a Github channel [top]
This process assumes that you are able to logon to Github and find the channel you wish to delete.
- Logon to Github.
- Go to your repo.
- Hide the channel: Delete the …/<your repo>/Channels/<Iguana channel name with guid>/ChannelConfiguration.xml file:
- For example: your-git-repo/Channels/HL7_Random_Message_Generator_-_copy-88CC981CACF7834C6E27BE7E3BCA7377/ChannelConfiguration.xml
- Click the Delete (rubbish bin) icon on the right above the code:
- Scroll to the bottom of the screen (or press the End key on the keyboard).
- Click the green Commit button to finalize (commit) the delete:
- Delete non-shared Channel files: Delete all the files in …/<your repo>/<Iguana channel name with guid>/
- Click on the linked name of the channel you are deleting:
- This will bring up a list on non-shared files that can safely be deleted:
- Click on each file individually and delete them using the same "delete then commit" process you used to delete the configuration file.
- Click on the linked name of the channel you are deleting:
Delete a Bitbucket channel [top]
This process assumes that you are able to logon to Bitbucket and find the channel you wish to delete.
Follow the same process as for github, above (detailed steps with screenshots coming very soon).
- Logon to Bitbucket
- Go to your repo
- Click Source in the Navigation menu on the left to view the Channels:
- Hide the channel: Delete the …/<your repo>/Channels/<Iguana channel name with guid>/ChannelConfiguration.xml file
- For example: your-bitbucket-repo/Channels/LLP_Custom_Client-82D03CFADFD49F690EC69B7FB7EA9D1C/ChannelConfiguration.xml
- Select the Delete option from the menu on the right above the code:
- Click the Commit button in the dialog window to finalize (commit) the delete:
- Delete non-shared Channel files: Delete all the files in …/<your repo>/<Iguana channel name with guid>/:
- Click Source in the Navigation menu on the left to view the Channels:
- Click on the linked name of the channel you are deleting:
- This will bring up a list on non-shared files that can safely be deleted:
- Click on each file individually and delete them using the same "delete then commit" process you used to delete the configuration file.
Note: Between each file deletion you will need to repeat the first two steps (click Source, then click channel link) to return to the list of non-shared files.
how to delete a git repository
Source: https://help.interfaceware.com/v6/how-to-delete-a-channel-from-a-git-repository
Posted by: robertscatill93.blogspot.com
0 Response to "how to delete a git repository"
Post a Comment