Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capistrano 2 -> 3 git deployment differences?

In my previous capistrano version 2 deployment of an app, I always got access to git on the deployed side with .git present. This was handy when in a pinch we need to make a couple of tweaks server side and push them back to version control.

Now that we're moving to capistrano version 3 we've been missing the .git folder and obviously no longer can issue git status, etc. on this deployment.

Is there an option I'm missing that has changed the functionality of cap 3 that removes git vs from a project upon deployment?

It does indeed USE git for each deployment, but it's obviously doing something after the deploy to remove .git, etc.

like image 459
ylluminate Avatar asked Dec 13 '25 01:12

ylluminate


1 Answers

You can find the .git directory in #{repo_path} variable.

like image 61
content01 Avatar answered Dec 15 '25 17:12

content01



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!