diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2022-05-03 13:36:16 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2022-05-03 13:38:50 +0200 |
commit | bdcb818804ba66bd52bb089b4f8ad33b3f18ca51 (patch) | |
tree | d3918164dd7dd530c3486691605155ff6094d79e /doc | |
parent | d33eace057c830a5c1b43914d1e4287f7db605bb (diff) |
Replace "rm" call with "git rm"
`git rm` should always be preferred over "normal" `rm`. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/contributing/submitting-changes.chapter.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/contributing/submitting-changes.chapter.md b/doc/contributing/submitting-changes.chapter.md index 109d051c016fa..d428f00eea563 100644 --- a/doc/contributing/submitting-changes.chapter.md +++ b/doc/contributing/submitting-changes.chapter.md @@ -96,7 +96,7 @@ We use jbidwatcher as an example for a discontinued project here. 1. Have Nixpkgs checked out locally and up to date. 1. Create a new branch for your change, e.g. `git checkout -b jbidwatcher` -1. Remove the actual package including its directory, e.g. `rm -rf pkgs/applications/misc/jbidwatcher` +1. Remove the actual package including its directory, e.g. `git rm -rf pkgs/applications/misc/jbidwatcher` 1. Remove the package from the list of all packages (`pkgs/top-level/all-packages.nix`). 1. Add an alias for the package name in `pkgs/top-level/aliases.nix` (There is also `pkgs/applications/editors/vim/plugins/aliases.nix`. Package sets typically do not have aliases, so we can't add them there.) |