The Nautilus developers are engaged in active development on one of the project repositories located at /usr/src/kodekloudrepos/ecommerce
. During testing, several test branches were created, and now they require cleanup.
- Delete a branch named
xfusioncorp_ecommerce
from the/usr/src/kodekloudrepos/ecommerce
Git repository on the Storage server in Stratos DC.
-
Log in to the Storage Server:
-
Navigate to the Project Directory:
cd /usr/src/kodekloudrepos/ecommerce/
-
Check the Existing Branches:
git branch
-
Configure Safe Directory:
git config --global --add safe.directory /usr/src/kodekloudrepos/ecommerce
-
Remove the Branch:
git branch -d xfusioncorp_ecommerce
ssh [email protected]
: Connect to the storage server.cd /usr/src/kodekloudrepos/ecommerce/
: Navigate to the repository directory.git branch
: List all branches in the repository.git config --global --add safe.directory /usr/src/kodekloudrepos/ecommerce
: Add the directory to Git's safe list.git branch -d xfusioncorp_ecommerce
: Delete the specified branch.