You want to clone a specific commit - git
Adetunji Ojekunle

Adetunji Ojekunle @habdams

Location:
Anywhere
Joined:
Jan 21, 2021

You want to clone a specific commit - git

Publish Date: Sep 4 '25
0 0

So you want to git clone a specific commit, but you can't really do that for now (tell me if you have a different way). There's a clever work around I use;

  • Clone the entire repo
  • git reset --hard [commit-id]| [commit-id] will be the specific commit you are interested in, I assume you know the specific commit either by looking at the commit history or just do git log.

Comments 0 total

    Add comment