L
L
lucky42022-04-06 09:53:39
git
lucky4, 2022-04-06 09:53:39

How not to transfer everything to stash?

There is a problem with SourceTree when there are some changes in the branch, and there are certain files that I would not like to send to the shared, but I want to leave them in the stash so that they would be for other branches.

As I did before: before commits, I selected files that should not be on github / github - put them in a stesh and then returned to the rest of the changes and already pushed them (without "personal" files).

Now it doesn't work exactly as I need it, I have all the files, even those that are not zipped.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kuznetsov, 2022-04-06
@lucky4

before commits, I selected files that should not be on github / github - entered them in stash
Why so difficult?
What prevents you from indexing only the files you need before committing? Why are you committing everything?
уже их пушил
Did you mean "commit"?
The whole branch is always pushed, commits, not individual files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question