Answer the question
In order to leave comments, you need to log in
What is the right way to deal with git in this situation?
Hello!
Let's simulate the following situation:
I work in a large team. We use git. Each feature or fix is a separate branch. But for example, I have grunt and when generating it, it throws out files that are not needed in "Changes not staged for commit" and "Untracked files" that should not go to the commit.
That is, I myself comical those that I need only.
And the rest I just do this:
git checkout -- .
git clean -d -f
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question