Git related Questions

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Rachael
Posts: 13965
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Git related Questions

Post by Rachael »

Forks do not auto update branches, so just look for branches that were last updated before your fork.

Personally, I just delete all my vestigial branches unless they carry some interest to me. Even those might not last long because they already exist in the parent repos.
User avatar
Nash
 
 
Posts: 17503
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Git related Questions

Post by Nash »

Thanks, found them. :D I asked because I also wanted to delete all of my old branches and start clean.
User avatar
Nash
 
 
Posts: 17503
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Git related Questions

Post by Nash »

Is there a way to see what files were recently added into the repository, ie "list of the last 20 files added between today and last month"... or something like that. :S
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Git related Questions

Post by wildweasel »

Nash wrote:Is there a way to see what files were recently added into the repository, ie "list of the last 20 files added between today and last month"... or something like that. :S
As far as I can tell, you'd need to do so through the commit history. I don't know of a way to do this just through the git client; github lets you do so through the website.
User avatar
Rachael
Posts: 13965
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Git related Questions

Post by Rachael »

Nash wrote:Is there a way to see what files were recently added into the repository, ie "list of the last 20 files added between today and last month"... or something like that. :S
What I do is I create a branch from the point that I want to compare, and then I do a rebase merge with the current commit (unless fast-forward is applicable). An example of me doing that is right here, which just happened today, when I was trying to figure out the delta between "GZDoom-maint" and my QZDoom master: https://github.com/raa-eruanna/qzdoom/c ... nt-compare - I don't normally do such things publicly, but I find that Github's interface for doing so to be very useful. It clearly tells me what commits I have missed (although there are some duplicates).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Git related Questions

Post by Graf Zahl »

I normally use TortoiseGit which can list changes between two specific revisions which of course also includes files added.
User avatar
Rachael
Posts: 13965
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Git related Questions

Post by Rachael »

The thing I forgot to mention about doing a rebase merge - the differing commits will always be on top - that's one of the things that makes it useful in the application that I used it for.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Git related Questions

Post by Edward-san »

I'd like to change the repository to point to gzdoom, but I'm not sure it would change the 'forked from rheit/zdoom' information to 'forked from coelckers/gzdoom'. Any ideas on this without recreate the repository from the scratch?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Git related Questions

Post by Graf Zahl »

No. I also would like to undo the 'fork' status but the only way is to recreate the entire repo.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Git related Questions

Post by _mental_ »

From this article:
To detach the fork and turn it into a standalone repository on GitHub, contact GitHub Support.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: Git related Questions

Post by Edward-san »

_mental_ wrote:From this article:
To detach the fork and turn it into a standalone repository on GitHub, contact GitHub Support.
If Graf manages to do that, it would be possible for us to make a separate fork from zdoom's own fork. Better that than trying to destroy everything :mrgreen:
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Git related Questions

Post by _mental_ »

There are a few minor pros of the fork relation removal: repository content can be searched, repository itself can be found via global search, maybe something else I couldn't remember.
Post Reply

Return to “General”