Get rid of destructive mv
This commit is contained in:
parent
1cc66ac752
commit
86787f812a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue