We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bae356 commit 466c17aCopy full SHA for 466c17a
save-code.sh
@@ -2,15 +2,17 @@
2
3
# Save a git project to a specific repo (e.g. github, bitbucket, ...)
4
function save-project-to-repo() {
5
+ branch="master"
6
+
7
git remote rm origin
8
git remote add origin $1
- git push
9
+ git push origin $branch
10
}
11
12
declare readonly gitRemotes=(
13
git@gitlab.com:pH-7/github-readme-generator-cli.git
- git@bitbucket.org:pH_7/random-passcode-password.git
- git@github.com:pH-7/php-github-readme-generator-seo-friendly.git
14
+ git@bitbucket.org:pH_7/php-github-readme-generator-seo-friendly.git
15
+ git@github.com:pH-7/github-readme-generator-cli.git
16
)
17
for remote in "${gitRemotes[@]}"
18
do
0 commit comments