Home > Net >  Using the script from some particular branch in git
Using the script from some particular branch in git

Time:03-25

This question is maybe answered, but I couldn't find it.

I have a branch where I am working on and I didn't finish my work on this branch. Now I need to use prebuilt tool that is on totally different branch.

I don't have that script at all visible on my branch, but I need to run it in order to get something, to continue working on my branch. There are three problems here:

  1. I don't want to checkout to another branch. I want to work on my own branch all the time
  2. I don't want to commit anything before I finish
  3. I want to use something from another branch that is not visible on my own branch

How is that possible and is it possible at all?

CodePudding user response:

There are many ways to deal with this. They all boil down to the fact that you're trying too hard, right now.

  •  Tags:  
  • git
  • Related