Created
November 1, 2011 22:49
-
-
Save sh1mmer/1332195 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#just list all of the urls you want to push to under the remote header | |
[remote "all"] | |
[email protected]:repo | |
[email protected]:repo | |
# | |
# example | |
# | |
[remote "dev"] | |
[email protected]:repo | |
[remote "test"] | |
[email protected]:repo | |
[email protected]:repo | |
[email protected]:repo | |
[email protected]:repo | |
[remote "prod"] | |
[email protected]:repo | |
[email protected]:repo | |
[email protected]:repo | |
[email protected]:repo | |
# | |
# you can now do `git push dev master` `git push test master` `git push prod master` | |
# to push at various envs you have |
This file contains hidden or 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
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"scripts": { | |
"start": "node server.js" | |
}, | |
"dependencies": { | |
"express":">2.0.0" | |
} | |
} | |
/* | |
* Remember you can get a lot more info on package.json from: | |
* `npm help json` | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment