filmov
tv
Deleting commits | How, why and why not | GitHub Tutorial
Показать описание
Made a mistake and want to undo or hide it from GitHub? Well, it's not the best to delete commits, but here's a step-by-step guide on how to do it. The video also touches on the only true ways to delete commits, and why you may or may not want to attempt to do so. By the end, you should have a better idea of how to delete commits, and why.
1. git reset --soft HEAD~1
2. git push origin +main --force
Timestamps:
0:00 - Explanation
0:17 - Why?
0:44 - Creating commits to delete
1:51 - Deleting commits from GitHub
3:29 - Why you DON'T want to delete commits
#GitHub #Delete #Commit
-----------------------------
-----------------------------
Everything in this video is my personal opinion and experience, and should not be considered professional advice. Always do your own research and make sure what you're doing is safe.
1. git reset --soft HEAD~1
2. git push origin +main --force
Timestamps:
0:00 - Explanation
0:17 - Why?
0:44 - Creating commits to delete
1:51 - Deleting commits from GitHub
3:29 - Why you DON'T want to delete commits
#GitHub #Delete #Commit
-----------------------------
-----------------------------
Everything in this video is my personal opinion and experience, and should not be considered professional advice. Always do your own research and make sure what you're doing is safe.
Deleting commits | How, why and why not | GitHub Tutorial
Delete commits and edit commits with git rebase. Crazy simple and useful
Delete Git Commits Tutorial
How to UNDO / REVERT a PUSHED COMMIT in GIT - 2 Ways - Which One Suits Your Needs?
How To Delete All Past Commits in a Git Branch (Short and Sweet!)
How to revert a commit in git after push in terminal | 1 min. GitHub tutorial
Git delete commits and reset code base to a specific commit
How to undo commit in Visual Studio Code | Fast tutorial
How to Undo a Pushed Git Commit - Reset & Revert a Git Commit After Push
Github Intentionally Lets You Read Deleted & Private Commits
I want to delete or remove last commit in Git | Git Questions
how to undo the commit pushed using git revert | git revert | git tutorials
Why Can't We Delete Specific Commit in Git | Understand Commit ID And Commits Chaining Process...
Short: remove Large files from a git commit
Part 10 | Revert Vs Drop Vs Undo Commit | How to revert a commit | How to drop a commit |
How to delete a commit from GitHub?
How to remove previous commit
5. Git Tutorial - Revert commits (undoing things)
Delete Older Commit from Github with Git Rebase
How to undo a pushed commit #coding #technology #tech #git #github
How do I undo the most recent local commits in Git
Surviving with Git #9: Recovering Deleted Commits
How to UNDO / REVERT a LOCAL COMMIT in GIT
#3: How to Delete or Remove Commits in GIT | Understand --mixed vs --soft vs --hard Reset
Комментарии