Get rid of destructive mv

This commit is contained in:
Sridhar Ratnakumar 2022-03-11 12:23:18 -05:00 committed by GitHub
parent 1cc66ac752
commit 86787f812a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,11 +24,13 @@ Open `Main.hs`, and expect all HLS IDE features like hover-over tooltip to work
Renaming the project: Renaming the project:
```sh ```sh
git clone <your-clone-url>
cd your-project
NAME=myproject NAME=myproject
git mv haskell-template.cabal ${NAME}.cabal git mv haskell-template.cabal ${NAME}.cabal
nix run nixpkgs#sd -- haskell-template ${NAME} * */* nix run nixpkgs#sd -- haskell-template ${NAME} * */*
git add . && git commit -m rename git add . && git commit -m rename
cd .. && mv haskell-template ${NAME} && cd ${NAME}
``` ```
## Tips ## Tips