Open
Conversation
kescobo
requested changes
Jun 11, 2018
Owner
kescobo
left a comment
There was a problem hiding this comment.
It looks like you added a submodule of this repo to the repo... not sure how you accomplished that, but we don't want it :-).
It looks like it was added in your second commit when you tried to merge. You also didn't merge the latest version of the master branch.
Try this - it will undo your last commit, get the latest version of master to merge in, and (I think) get you to the right place:
$ git checkout nisdev3
$ git reset --hard HEAD~1
$ git checkout master
$ git reset --hard HEAD~2
$ git pull upstream master
$ git checkout nisdev3
$ git merge master -m "Merge with upstream master"
$ git push --force
To re-iterate in plain language:
- Check out your dev branch
- Go back one commit (before you added the submodule)
- Check out your master branch
- Go back 2 commits (this is where you branched from)
- Pull the latest
masterfrom my repo (assuming you called itupstreamwhen you added it - Check out your dev branch again
- Merge the new commits you just pulled into it
- Push the commits (the
--forceflag is required because you're re-writing history - the commit where you added the submodule is being erased).
Give that a shot and let me know how it goes :-)
| @@ -0,0 +1,11 @@ | |||
| #**Nisreen's Summer Goals** | |||
Owner
There was a problem hiding this comment.
The hash here makes this a header, you don't need the * for bold.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Kevin. No idea if this will work but here goes!