6 points · by augstein · 6y ago · 1 comment
I understand that for example for npm there is the `npm deprecate` command, but I'm looking for a generic and simple way to do this.
Just noticed a VIM plugin I was using has been deprecated for a while, which caused some problems with VIM that I had to track down manually.
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/