forked from ESCOMP/CESM
-
Notifications
You must be signed in to change notification settings - Fork 5
CMCC Remove Old Branches
Steve Goldhaber edited this page Jan 15, 2023
·
1 revision
Once your modifications have been merged into the CMCC-Foundation repository, you may have no more use for the local fork branch created to develop those modifications. In that case, you can remove the branch both from your local cloned repo and your GitHub fork:
- First, make sure your local repo isn't checking out the old branch, by simply checking out a different branch:
git checkout <some_other_branch>
- Then, remove branch from local repo:
git branch -d <branch_name>
- Finally, remove branch from personal fork repo:
git push --delete <origin> <branch_name>
You can also remove the branch via GitHub's user interface.
CMCC-CM wiki
-
Documentation
-
CMCC-CM code development:
-
git and GitHub resources
-
Additional resources