News for hackers. Stuff that matters.
Re:CapRover: Build your own PaaS by dugmartin on Tuesday June 09, 2020 @07:31AM (#23465633)
FYI, you can avoid the $APP directory removal and clone by doing:

    GIT_WORK_TREE=/home/username/apps/$APP git checkout master
Re:CapRover: Build your own PaaS by xu6ahb8E on Tuesday June 09, 2020 @07:36AM (#23465669)
Yes, that's true, thanks for mentioning it. It comes from a time when I did not use docker so I wanted to get rid of build artifacts, but building within docker, this is not a problem anymore.
Re:CapRover: Build your own PaaS by c17r on Tuesday June 09, 2020 @10:08AM (#23466776)
If you need to use your "old way" for something else, you can use 'git clean -fdx' which will remove all files and directories that git does not track.