![]() |
#11 |
Apprentice
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
![]() |
Thanks, that shows what I'm looking at that is causing my question.
I don't get why the first line (5d2e4f5) is showing up. That change was pushed to my branch then pulled to master by Nick, so why should it still be showing as a difference that's in my branch but not master? So another way to ask my same question is, after you push a change to your private fork and then get it merged into master, what do you have to do to your private fork to clean or reset or sync it with master so it's ready for the next change? |
![]() |
![]() |
![]() |
#12 |
Apprentice
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
![]() |
I guess what I have to do is delete my fork using the web interface and recreate it after every push. If i do that it will get the same name, and my local repository will automatically retarget to the clean fork. I read something about being generous with forks, but I didn't quite know what was expected.
|
![]() |
![]() |
![]() |
#13 | |
Adept
Join Date: Aug 2019
Posts: 110
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Apprentice
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
![]() |
Thanks, i need all the help I can get!
I tried deleting my master fork and reforking, but it didn't help - the new fork still showed everything I'd ever done, and every pull request I start to make includes every change I've ever done, not just the most recent change - even though Nick has accepted the other stuff and the delta is really just the most recent change. So my main fork, Eastwind921/master has all this junk in it I can't clear. It says it's up-to-date with master, they're on the same commit d3be7e2541fc12abc77d3d2f126d6c64a4ccf36b I found some decent tutorial stuff to read, and that's helping, maybe things will become clearer in another couple of chapters... |
![]() |
![]() |
![]() |
#15 | |
Adept
Join Date: Aug 2019
Posts: 110
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#16 |
Apprentice
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
![]() |
Ah, maybe that's it. I only deleted the one on the server - it's a small bit of bother to delete the local copy and recreate it, but I'll give that a whirl. Your posting your experience is really valuable! Thanks a lot.
|
![]() |
![]() |
![]() |
#17 |
Apprentice
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
![]() |
Thanks again, your advice to create a local branch worked, and I managed to push another small fix. Getting my fork updated from the master was more troublesome, I ended up having to make a pull request against my own branch (vs the usual ones against master), and then accept it. I couldn't find another way to get the web page to sync your recent commits into my fork.
That has resulted in my branch being temporarily one commit ahead of master (the commit that pulled the changes from master to my branch). Hopefully that doesn't cause trouble later. Next I'll see whether I can do anything to clean up the non-fatal compiler warnings I'm seeing. |
![]() |
![]() |
![]() |
#18 | |
Adept
Join Date: Aug 2019
Posts: 110
![]() |
Quote:
With remotes configured, you can skip having to supply full URLs. Someone who's more familiar with this probably can recommend what a standard remote configuration would look like for this scenario and the git remote commands to run to get it. |
|
![]() |
![]() |
![]() |
#19 |
Apprentice
Join Date: Dec 2019
Location: Mexico, undisclosed location
Posts: 79
![]() |
Ok, thanks, I'll try that. I really appreciate all the hand-holding.
|
![]() |
![]() |
![]() |
#20 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,979
Donated: $40
![]() |
Note:
git fetch ... is equivalent to git checkout master git pull ... |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
silly angband question #4 | Sky | Vanilla | 15 | December 5, 2016 15:24 |
silly angband question #3 | Sky | Vanilla | 12 | November 14, 2016 01:41 |
Blessing silly question | Skrym | Vanilla | 1 | November 26, 2012 13:31 |
Probably a silly question | Mr Mushroom | Vanilla | 4 | May 31, 2011 06:55 |
Silly question, but... | steeg1234321 | Vanilla | 13 | March 28, 2008 19:17 |