how do I fork an older version of a github project? I want to fork on a specific commit of a project, commit 3b5915a21a997f88fa16a6feb5b893953a06b0b5 of this
project: https://github.com/aseprite/aseprite, where a recent commit broke the main line. I really want to fork fork version 1.1.8.
There are two ways to use the git checkout command. A common use is to restore a file from a previous commit, and you can also rewind your entire tape reel and go in an entirely different direction.
Any public Git repository can be forked or cloned. A fork creates a completely independent copy of Git repository. In contrast to a fork, a Git clone creates a linked copy that will continue to synchronize with the target repository.
Branching is to create another line of development in the project without affecting the main branch or repository. Forking, on the other hand, is to make a clone of the repository on your GitHub account without affecting the main repository.
Fork the entire project. This is the only way.
Create a new branch off of that commit.
$ git checkout -b my-branch 3b5915a21a
Commit changes to your branch.
Push the changes to your forked repository.
Submit a Pull Request back to the original project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With