Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update #107

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

Closed
DaricusDuncan wants to merge 3 commits into CoderDojoPotsdam:master from DaricusDuncan:master
Closed

Update #107

DaricusDuncan wants to merge 3 commits into CoderDojoPotsdam:master from DaricusDuncan:master

Conversation

Copy link
Collaborator

@DaricusDuncan DaricusDuncan commented Oct 6, 2017

No description provided.

Copy link
Collaborator Author

Sorry, I was trying to update my cloned repo. Just ignore!

Copy link
Member

All fine. If you need help, ask.

Copy link
Collaborator Author

Thank you so much! Please help me if you can. I was trying to use the video on GitHub to update my local copy and the interface is slightly different so if you happen to know the proper steps please provide them for me if it is not too much trouble.

Copy link
Member

Maybe this tutorial can clarify it, if you have 15 minutes: https://try.github.io/
Which commands of this tutorial would you use to get to the desired state?

Copy link
Collaborator Author

Hi,

Sorry for the long wait but after going through the exercise I believe that I should use a git pull origin master to update my files on my local repo. Is this correct?

Copy link
Member

niccokunzmann commented Oct 7, 2017
edited
Loading

It looks good to me. So, I do not know as I do not know your state of the repo but I recommend trying it out. What is the outcome? I believe it is the right thing to do.

Copy link
Collaborator Author

I tried it and it worked perfectly. Thank you for introducing me to Try.GitHub.io. Still a newbie so I am learning. I appreciate you taking the time to help me.

screen shot 2017年10月07日 at 6 39 22 am

Copy link
Member

I see you are ahead... I will have a look at your changes :)

Copy link
Member

Ah, I see three things:

  • You added your editor configuration, I think it is eclipse... 47ab6e7
    This is usually not needed as it can generate merge conflicts with other people also using eclipse.
    If you do not want to commit those files, you can add them to the .gitignore file.
  • I would say, you are using a mac :)
  • You also merged the translations branch which was a proposal which we do not use any more.

So, if you would like to get your master branch to the same state as the master branch of CoderDojoPotsdam/regex-tutorial, you would need to remove the changes or delete the files and create a pull-request with the .idea entry in the .gitignore file.

  1. Delete the commits from the master branch
    1. I think, you can use git rebase -i HEAD~5 to view the last 5 commits and decide which commits you would like to use
    2. you can remove the commits until there is only the old version of the master branch
    3. you pull again as you did before.
    4. You do git push -f - a force push which changes the history of your master branch.
  2. Or you can checkout an other branch, delete the master branch and checkout the master branch of origin master.
  3. you delete the files, add .idea to the .gitignore file and I will accept your pull-request.

I do not know what you would like to achieve and if you want to do any of this. You can try it out if you like ^^
PS: There is another tutorial which was recommended to me: https://rogerdudler.github.io/git-guide/index.html

Copy link
Collaborator Author

Actually, I am interested in doing all of this to get the repo where it needs to be. I am learning so much and this is helpful information to know if I want to continue to be able to help out on this project.

  1. I am using a Mac :) !
  2. This is really fun and exciting for me.
  3. I appreciate the help a ton!

Let me go through all of the information you have provided and see what happens. I am going to take a whack at this and if I get stuck I will reach out again.

Copy link
Collaborator Author

DaricusDuncan commented Oct 8, 2017
edited
Loading

Alright, I first want to say thank you for all of the help.

I ended up creating another branch and pulling your origin/master and making that my master
on my local repo.

I then did the git push -f and updated GitHub and reset my origin to my .git GitHub location.

Thank you so much for the help.

I actually did not do any code yet to do a pull request actually. The goal of today was to attempt to make a button for the languages but ended up learning more about git today. All in all, I am still learning so it is all good.

screen shot 2017年10月07日 at 9 27 30 pm

niccokunzmann reacted with hooray emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /