Share via

Error in git Visual studio 2022 Version 17.2.5

Alifvar 1 Reputation point
2022-07-16T04:20:23.73+00:00

When i want to pull commits and i have some changes that don't have any conflict with the commits that going to pull it says that you should commit your changes.
why should i commit my change when they don't have any conflict with the coming commits?

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,201 Reputation points Microsoft External Staff
    2022-07-18T10:58:02.06+00:00

    Hi @Alifvar ,

    Welcome to Microsoft Q&A!

    Before pulling, you need to commit all changes or delete the uncommitted changes to avoid conflicts.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.