-1

I have two branches master and testing.

I only want to commit two folders from the testing branch. And leave the rest intact.

For example:

master

index.js

source

var

testing

index.js[*]

source[*]

var[*]

After commit the changes from testing into master:

master

index.js

source[*]

var[*]

H1N1virus
  • 51
  • 5

1 Answers1

0

try this

git checkout testing -- <path/>
kryptobi
  • 51
  • 5