-
-
Save sdboyer/917835 to your computer and use it in GitHub Desktop.
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
# Put this in your .gitconfig | |
[url "ssh://[email protected]/sandbox/"] | |
insteadOf = "dos:" | |
[url "ssh://[email protected]/project/"] | |
insteadOf = "do:" |
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
# And now you can clone a drupal project like this: | |
$ git clone do:views | |
Cloning into views... | |
remote: Counting objects: 29661, done. | |
remote: Compressing objects: 100% (9175/9175), done. | |
remote: Total 29661 (delta 22818), reused 26859 (delta 20372) | |
Receiving objects: 100% (29661/29661), 11.58 MiB | 952 KiB/s, done. | |
Resolving deltas: 100% (22818/22818), done. | |
# Or clone a sandbox like this: | |
git clone dos:sdboyer/1072352 | |
Cloning into 1072352... | |
remote: Counting objects: 3, done. | |
remote: Compressing objects: 100% (2/2), done. | |
remote: Total 3 (delta 0), reused 0 (delta 0) | |
Receiving objects: 100% (3/3), done. | |
# And then they're WRITEABLE! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment