Skip to content
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-to-update-remote-fetch #19

Merged
merged 1 commit into from
Mar 21, 2022
Merged

Conversation

ScottA38
Copy link
Contributor

- Added remote fetch so that actual latest commit gets fetched from remote

I was having some issues with not getting the latest commit from origin, was getting an earlier commit (I expected that I would also get the HEAD in remote from submodule origins). Somehow even after updating local to the latest commit the commands in ruby give the same

Turns out that according to SO this is normal, and you have to do extra work to get the submodules updated to the remote version.

I saw the note in the contributing section about adding tests, however I am a Ruby noob and I saw that other PRs don't have tests, so I have not added. If you can add some info about how to mock a git remote then I can try 🙏

I tested the change on my Portfolio website by adding my fork in the Gemfile and it looks like it worked for that implementation

	- Added remote fetch so that actual latest commit gets fetched from remote
Copy link
Owner

@ekho ekho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ekho ekho merged commit 347ddac into ekho:master Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants