Git related Questions
Re: Git related Questions
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.
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.
Re: Git related Questions
Thanks, found them. :D I asked because I also wanted to delete all of my old branches and start clean.
Re: Git related Questions
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
- 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
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.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
Re: Git related Questions
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).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
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Git related Questions
I normally use TortoiseGit which can list changes between two specific revisions which of course also includes files added.
Re: Git related Questions
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
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?
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Git related Questions
No. I also would like to undo the 'fork' status but the only way is to recreate the entire repo.
Re: Git related Questions
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
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_mental_ wrote:From this article:To detach the fork and turn it into a standalone repository on GitHub, contact GitHub Support.
Re: Git related Questions
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.