You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of a separate repository, this could be a branch of the wd42 repository. If an orphaned branch is used, the two histories will be completely separate and unrelated, but then all the code is in one location:
$ cd wd42-site
$ git remote add wd42-deployment https://github.com/wd42/wd42-deployment.git
$ git fetch wd42-deployment
warning: no common commits
remote: Counting objects: 45, done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 45 (delta 18), reused 33 (delta 6)
Unpacking objects: 100% (45/45), done.
From https://github.com/wd42/wd42-deployment
* [new branch] master -> wd42-deployment/master
$ git checkout -b deployment wd42-deployment
Branch deployment set up to track remote branch master from wd42-deployment.
Switched to a new branch 'deployment'
$ sed -i 's#wd42/wd42-deployment/master#wd42/wd42-site/deployment#' bootstrap.sh README.md
$ git add bootstrap.sh README.md
$ git commit -m 'Changed the location of the deployment scripts'
[deployment 3626b68] Changed the location of the deployment scripts
2 files changed, 3 insertions(+), 3 deletions(-)
$ git push origin -u deployment
Having everything in the one repository makes it all contained and easy to ship around.
The text was updated successfully, but these errors were encountered:
I would make a pull request on the wd42-site repository, but github does not allow pull requests to be made for unrelated commit histories. Booo. I have a fork with the deployment branch in it, which just does these modifications.
Instead of a separate repository, this could be a branch of the wd42 repository. If an orphaned branch is used, the two histories will be completely separate and unrelated, but then all the code is in one location:
Having everything in the one repository makes it all contained and easy to ship around.
The text was updated successfully, but these errors were encountered: