Skip to content

chore: Add missing .gitignore with Maven target/ - #757

Closed
vorburger wants to merge 1 commit into
googleapis:mainfrom
vorburger:gitignore-target
Closed

chore: Add missing .gitignore with Maven target/#757
vorburger wants to merge 1 commit into
googleapis:mainfrom
vorburger:gitignore-target

Conversation

@vorburger

@vorburger vorburger commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

Add the missing .gitignore file containing target/ so that contributors don't see files built by Maven as "dirty" in their Git workspace, and don't accidentally add them to commits.

Furthermore, the presence of this .gitignore file can be leveraged by various tools, including but not limited to AI coding tools, to understand that everything under the target/ can be ignored by such tools.

@hemasekhar-p hemasekhar-p self-assigned this Jan 5, 2026
@hemasekhar-p

Copy link
Copy Markdown

Hi @vorburger , Thank you for your contributions. Kindly provide the description of this PR.

@vorburger

vorburger commented Jan 5, 2026

Copy link
Copy Markdown
Contributor Author

Hi @vorburger , Thank you for your contributions. Kindly provide the description of this PR.

@hemasekhar-p sure thing - done!

@vorburger

Copy link
Copy Markdown
Contributor Author

@hemasekhar-p merge?

vorburger added a commit to vorburger/dotfiles that referenced this pull request Feb 1, 2026
copybara-service Bot pushed a commit that referenced this pull request Aug 24, 2026
Ignore the target/ build output directory in Git workspaces. This prevents Maven build artifacts from appearing as untracked or dirty files in Git and downstream tooling.

Ported from #757.

PiperOrigin-RevId: 964723612
copybara-service Bot pushed a commit that referenced this pull request Aug 25, 2026
Ignore the target/ build output directory in Git workspaces. This prevents Maven build artifacts from appearing as untracked or dirty files in Git and downstream tooling.

Ported from #757.

PiperOrigin-RevId: 964723612
copybara-service Bot pushed a commit that referenced this pull request Aug 25, 2026
Ignore the target/ build output directory in Git workspaces. This prevents Maven build artifacts from appearing as untracked or dirty files in Git and downstream tooling.

Ported from #757.

PiperOrigin-RevId: 964723612
copybara-service Bot pushed a commit that referenced this pull request Aug 26, 2026
Ignore the target/ build output directory in Git workspaces. This prevents Maven build artifacts from appearing as untracked or dirty files in Git and downstream tooling.

Ported from #757.

PiperOrigin-RevId: 964723612
copybara-service Bot pushed a commit that referenced this pull request Aug 26, 2026
Ignore the target/ build output directory in Git workspaces. This prevents Maven build artifacts from appearing as untracked or dirty files in Git and downstream tooling.

Ported from #757.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#1205 from googleapis:release-please--branches--main e684dd0
PiperOrigin-RevId: 964723612
@vorburger

Copy link
Copy Markdown
Contributor Author

Closing as duplicate of #1196.

@vorburger vorburger closed this Aug 26, 2026
copybara-service Bot pushed a commit that referenced this pull request Aug 26, 2026
Ignore the target/ build output directory in Git workspaces. This prevents Maven build artifacts from appearing as untracked or dirty files in Git and downstream tooling.

Ported from #757.

PiperOrigin-RevId: 971528724
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