Closed DaricusDuncan closed 7 years ago
All fine. If you need help, ask.
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.
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?
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?
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.
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.
I see you are ahead... I will have a look at your changes :)
Ah, I see three things:
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.
git rebase -i HEAD~5
to view the last 5 commits and decide which commits you would like to usegit push -f
- a force push which changes the history of your master branch..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
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.
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.
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.
Sorry, I was trying to update my cloned repo. Just ignore!