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

Suggestion: Ignore files in .git or hidden folders by default #360

Open
tekkies opened this issue Sep 22, 2023 · 0 comments
Open

Suggestion: Ignore files in .git or hidden folders by default #360

tekkies opened this issue Sep 22, 2023 · 0 comments

Comments

@tekkies
Copy link

tekkies commented Sep 22, 2023

If you create a branch named fix-myproject.csproj, git creates an internal marker file named .git\logs\refs\remotes\origin\fix-myproject.csproj contining the SHA-1 of the current commit on the branch.

This causes ##[error]Error reading file: Error: Non-whitespace before first tag. when the step runs on all branches

Workarounds

  • Rename the branch (fixes all builds on all branches)
  • Ignore files in .git folder in the tool config (fixes only the current branch
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

No branches or pull requests

1 participant