git - Why you are can't delete specific commit in github.

git - Why you are can't delete specific commit in github.

Git is a free and open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do. Git is used for version control of files, much like tools such as Mercurial, Subversion, CVS, and Perforce.

You can't delete specific commit in github because github commit algorithem in very complicated.

Github commit are like a chain.

Github commit are like a chain. You should not delete commit in between. One commit have a parent commit that is attached together like a chain.

You can only remove last commit in github, Watch this tutorial for how to delete last commit.

See this below video for understand how does work Github Commit Algorithem :

Github Commit Algorithem

Post a Comment

0 Comments