Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save the-teacher/f9dd36d629ec7d9aacd9 to your computer and use it in GitHub Desktop.
Save the-teacher/f9dd36d629ec7d9aacd9 to your computer and use it in GitHub Desktop.
Fixing Capistrano 3 deployments after a repository change
Fixing Capistrano 3 deployments after a repository change
https://coderwall.com/p/4k1lja/fixing-capistrano-3-deployments-after-a-repository-change
vim DEPLOY-FOLDER/repo/config
```
[core]
repositoryformatversion = 0
filemode = true
bare = true
[remote "origin"]
fetch = +refs/*:refs/*
mirror = true
url = [email protected]:username/oldrepo.git
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment