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
Fixed several typos [Guide] [English] #1472
Conversation
Any idea why the diff result shows change of entire paragraphs? |
CRLF possibly. @Bux666 can't merge it since unable to review changes. Can you fix your commit? |
I have no idea. It might be a CRLF problem, since I edited the files under Windows with phpDesigner. File format is set to Unix, though. |
Now I see the huge differences, which is weird since last week (yes, it took me some time to get GitHub working...) the changes where just what I changed. Nothing more, nothing less. |
@Bux666 https://help.github.com/articles/dealing-with-line-endings This is mostly a windows problem. |
@cebe thanks for the pointer. It's good to know. Still, I think the line ending problem should be fixed before we merge it. |
Hi Carsten, Since I'm a total GitHub noob and have the Windows version, I'm not sure If you can help me with this problem, I will be very grateful! Now I Regards, Benoit (Bux666) On 26-09-2012 18:10, Carsten Brandt wrote:
|
@Bux666 you can solve the crlf issue as described here; https://help.github.com/articles/dealing-with-line-endings When you have done that run git reset --soft HEAD^
git reset HEAD . To undo the commit you made but keep the changes. git push origin master --force You should go onto a branch to allow your master branch to be used for further pull requests later: git checkout -b guide-typos When you now commit it should be all fine with line endings. git push origin guide-typos And you can now create a new pull request from that branch |
Carsten, thank you very much for your really useful help! I don't want to mess it up again, you see... Kind regards, Benoit (Bux666) On 27-09-2012 12:14, Carsten Brandt wrote:
|
When I click the 'Pull Request' button on the frontpage off the GitHub site I get the message "Oops! yiisoft:master is already up-to-date with Bux666:master Try a different branch?". So...what next? :( |
@Bux666, make sure you've pushed your local changes (commits) to the proper branch of your remote (origin) fork. I've looked to your fork—there are no your commits. |
As fas as I know I've pushed my changes, entering the required 'title' and entering some optional text. I see my changes on GitHub, but I have really no idea what to do now. Is it really that difficult to use GitHub or am I just the idiot here...? I'm trying for 2 weeks to insert approximately 20 lines of changes. I lose quite some time with this, since I have no one here locally to instruct me. Sorry about my frustration, but as a software engineer I have worked with ClearCase/ClearQuest and Subversion and it always was quite easy. Now I'm stuck in a web of total ignorance (from my side!). :( All the help provided so far is greatly appreciated by the way! |
And it seems that everything worked out how it should. Apparently some things take a while (~30 minutes) before they are processed by the GitHub system and are visible on the website. Thanks everybody for helping me, I surely learnt a lot and will delete my negative thoughts about GitHub haha. |
commit != push you need to commit AND push after that
|
So far I know: I entered the command you sended and it says "Everything up-to-date". I read a small manual about Git, but I like to use the command line On 27-09-2012 15:14, Carsten Brandt wrote:
|
@Bux666 your commit is not there: https://github.com/Bux666/yii/commits/guide-typos try
to check situation |
That gives the following: ######__################## On branch masternothing to commit (working directory clean) $ git log
commit 60154d5
commit c8aa982
RAW HTTP r commit 5036829 ... Nothing to commit, so everything is OK? On 27-09-2012 15:45, Carsten Brandt wrote:
|
I read the complete Definitive Guide to Yii [English] and noted all typos. I fixed most of them, since some can't be fixed due to the PDF generation tool. I created an issue for that.
Some typos might be corrected in the meantime, since it took me a week between correcting and commiting.