2 ms·
I am guessing you are talking about git, in which case, the closest you can do by itself is to tag the specific branch: git tag -m '<name> is deprecated' dep
by MelioRatio 6y ago
I am guessing you are talking about git, in which case, the closest you can do by itself is to tag the specific branch:
git tag -m '<name> is deprecated' deprecated/<name> <name>
git branch -D <name>
This removes the branch <name> from the branch list and would cause the specified message to appear. You may also revive the branch, if you ever felt inclined to do so.
If you rely on a service like Github to host your repo, you have a setting to archive the repo: https://github.blog/2017-11-08-archiving-repositories/ https://github.blog/2017-11-08-archiving-repositories/