Skip to content

Add entries to gitignore for IDEA env#93

Merged
jg-rp merged 2 commits intojg-rp:mainfrom
rob-ross:main
Aug 6, 2025
Merged

Add entries to gitignore for IDEA env#93
jg-rp merged 2 commits intojg-rp:mainfrom
rob-ross:main

Conversation

@rob-ross
Copy link
Copy Markdown
Contributor

@rob-ross rob-ross commented Aug 5, 2025

I have forked the jg-rp/python-jsonpath. I made 3 changes to my local .gitignore. On the GitHub web app, it showed me that my forked main branch was out of sync with the upstream branch, so I clicked Synchronize. I did not "discard" first.

Now my fork says it's 2 commits ahead of the upstream branch. I understand the commit for .gitignore, but I don't know why it's including my sync/merge from your main to my forked main. There shouldn't be any differences I would need to push back upstream.

This is the first time I'm trying to create a pull request for a forked branch, so I'm still figuring this out. The only differences that should show up are the 3 changes in gitIgnore. If the merge is showing up as changes, maybe you can remove those from the pull request and just merge the gitIgnore changes?

@jg-rp jg-rp merged commit 89c0e7e into jg-rp:main Aug 6, 2025
12 checks passed
@jg-rp
Copy link
Copy Markdown
Owner

jg-rp commented Aug 6, 2025

👍 I've "squash merged" your two commits, effectively suppressing your merge commit and the merge commit that would occur from a "normal" merge.

In general, for a project like this with very few contributors, I'm not too bothered about a super clean git history. If you are working on a pull request over a long period and/or the pull request has lots of small commits, it would be good to rebase when it makes sense to do so. Otherwise I like to keep the commit history intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants