-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Git auto modified file with phing vendor #613
Comments
@tuanvu-se hello, you should not include vendor in your repository [at]see https://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md |
@tuanvu-se from the diff you posted it looks like the .gitattributes file is not populated correctly, see https://github.com/phingofficial/phing/blob/master/.gitattributes for inspiration. But like @siad007 says, I wouldn't include |
Hi @siad007 and @mrook, For the way of @mrook , I've included the information to my
This is my steps
And the result is not change
|
@tuanvu-se Maybe helpful: https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#Keyword-Expansion |
Dear,
I use Ubuntu and install Phing via composer, then I push all the vendor to my git. My friend pull my git to their computer (also run in Ubuntu). Although he pull without modified any previous things, he still get a lot of modified files inside phing vendor. Moreover, he cannot checkout or reset these files. I also reference this article https://help.github.com/articles/dealing-with-line-endings/ to resolve, but it still happened. Below is the different from few files I've tried to check:
The text was updated successfully, but these errors were encountered: