Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't push files to git if ignored #5334

Merged
merged 3 commits into from
May 27, 2022
Merged

Conversation

Fireant456
Copy link
Contributor

This was an edge case we ran into wanting to keep internal documentation off our synced git storage. This change allows us to maintain our own gitignore file to exclude files from git storage and still sync them to other storage backends.

@auto-assign auto-assign bot requested a review from NGPixel May 26, 2022 00:13
@NGPixel
Copy link
Member

NGPixel commented May 26, 2022

Interesting.

Just one small change, rename variable gitPath to gitFilePath so that it's more obvious that we're talking about a file path and not the location of the git binary.

@Fireant456
Copy link
Contributor Author

gitFilePath

Completed

@NGPixel NGPixel merged commit e3d94f7 into requarks:main May 27, 2022
NGPixel pushed a commit that referenced this pull request Jun 17, 2022
* fix: don't push files to git if ignored

* tweak: change gitPath var to gitFilePath

* fix: "update" instead of "create" of updated file

Co-authored-by: Jacob Parker <blocckba5her@gmail.com>
Co-authored-by: DevBlocky <16978528+DevBlocky@users.noreply.github.com>
jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this pull request Jul 9, 2024
* fix: don't push files to git if ignored

* tweak: change gitPath var to gitFilePath

* fix: "update" instead of "create" of updated file

Co-authored-by: Jacob Parker <blocckba5her@gmail.com>
Co-authored-by: DevBlocky <16978528+DevBlocky@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants