-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add git fetch to Auto Update Submodule #104
Add git fetch to Auto Update Submodule #104
Conversation
This syncs with the remote by executing git fetch before checkout of the gh-pages branch in the submodule. Related to Related to jhipster/jhipster-online#236
Hmmm weird, I tried this but didn't work. May be I did something wrong.
I'll check again tomorrow
…On Mon, 14 Sep 2020, 8:02 pm Sudharaka Palamakumbura, < ***@***.***> wrote:
This adds git fetch to sync with the remote before checking out the
submodules in jhipster-online sync action.
Related to jhipster/jhipster-online#236
<jhipster/jhipster-online#236>
------------------------------
You can view, comment on, or merge this pull request online at:
#104
Commit Summary
- fix: Add git fetch before checkout of the gh-pages branch
File Changes
- *M* .github/workflows/update-jhipster-online.yml
<https://github.com/jhipster/jdl-studio/pull/104/files#diff-94c8f8c78bbd39ba3c6b965d242aed07>
(2)
Patch Links:
- https://github.com/jhipster/jdl-studio/pull/104.patch
- https://github.com/jhipster/jdl-studio/pull/104.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#104>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIOKFYCUAZRBF5BWGQKELLSFZLFBANCNFSM4RL4VQ3A>
.
|
@deepu105 : Yeah, there's several different methods mentioned here; https://stackoverflow.com/questions/5989592/git-cannot-checkout-branch-error-pathspec-did-not-match-any-files-kn. Let us try this first and if that doesn't work we can try another one. Would you be able to give me write access to this repo? Then I can try some things out and fix it if you'd like. 🤔 |
@SudharakaP yes sure |
I added you to the team, let me know if there is any issue |
also please note that the default branch for this repo have changed. |
@deepu105 : Thanks for giving me write access. Let me try some things as this PR didn't seem to fix it. 👍🏼 |
@deepu105 : I've fixed it and pushed the changes to both |
This adds git fetch to sync with the remote before checking out the submodules in jhipster-online sync action.
Related to jhipster/jhipster-online#236