user1680104
user1680104

Reputation: 8887

Subtree merge with specific commit

Following the GitHub tutorial, how would I do something like this?

git read-tree --prefix=somedir/ -u someproject/commit-id:somedir

What I want is not to work with the master or any other branch, but a specific commit.

Upvotes: 1

Views: 541

Answers (1)

the.malkolm
the.malkolm

Reputation: 2421

git read-tree --prefix=somedir/ -u 360dde47f3:somedir

Upvotes: 2

Related Questions