Created
June 8, 2017 10:19
-
-
Save teeyo/95d12110f93e1a45f5594b9a9b34b812 to your computer and use it in GitHub Desktop.
Synchronize push on Bitbucket/Github and Drupal Cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit the .git/config file, and add as many pushURL as you like, this way whenever you do a git push you'll be | |
# pushing to all the URLs yous specified in the pushURL parameter. In my case I use it to push to BitBucket and | |
# Drupal Cloud at the same time. | |
[remote "origin"] | |
url = https://teeyo@bitbucket.org/teeyo/repository.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
# add your pushURL as shown below | |
pushURL = https://teeyo@bitbucket.org/teeyo/repository.git | |
pushURL = teeyo@git.drupal.org:project/repository.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment