![]() |
#41 |
Veteran
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,435
![]() |
You've done something funky. Some of the changes you're trying to pull in have been in master since September 2019
|
![]() |
![]() |
![]() |
#42 |
Knight
Join Date: Oct 2019
Posts: 945
![]() |
|
![]() |
![]() |
![]() |
#43 |
Knight
Join Date: Oct 2019
Posts: 945
![]() |
I guess I'll have to delete this and fork anew.
|
![]() |
![]() |
![]() |
#44 |
Knight
Join Date: Oct 2019
Posts: 945
![]() |
I think I'm on the right track with github now. Question: is there a git setting to avoid updating a bunch of lines where the only change is my editor auto-trimmed some trailing whitespace?
|
![]() |
![]() |
![]() |
#45 |
Apprentice
Join Date: Feb 2020
Posts: 99
![]() |
If it's actually trimming spaces, you'll need to configure that in your editor.
What OS are you using? Windows? Most likely, it's converting line endings -- a highly irritating problem. https://help.github.com/en/github/us...e-line-endings |
![]() |
![]() |
![]() |
#46 |
Knight
Join Date: Oct 2019
Posts: 945
![]() |
It's not the newlines, but thanks. It's the odd extra space or tab.
|
![]() |
![]() |
![]() |
#47 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,671
Donated: $60
![]() |
Here is my recommendation for managing your own version of the angband git repository:
This is how I work, and it should keep confusion to a minimum.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#48 |
Knight
Join Date: Oct 2019
Posts: 945
![]() |
OK, good tips. I know less about version control than I probably should.
|
![]() |
![]() |
![]() |
#49 |
Knight
Join Date: Oct 2019
Posts: 945
![]() |
I got my changes into a new branch, rolled my master back (via CLI couldn't find this option on github), and can now pull in the 13 commits at the press of a button. Github gives me 3 choices for this:
- Create a merge commit - Squash and merge - Rebase and merge Which do you recommend? |
![]() |
![]() |
![]() |
#50 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,671
Donated: $60
![]() |
Quote:
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
is there a code? | jozmon | Development | 19 | August 4, 2014 01:38 |
Questions regarding vanilla inscriptions | Avenger | Vanilla | 8 | December 13, 2013 22:15 |
Questions regarding vanilla dungeon design | Cazliostro | Vanilla | 23 | October 11, 2010 13:05 |
code help please | will_asher | Variants | 22 | March 15, 2010 20:00 |
Looking through the code | K.I.L.E.R | Vanilla | 5 | July 11, 2007 09:01 |