Gehen Sie mit der App Player FM offline!
How to Delete Commits From Remote in Git
Manage episode 392702977 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/how-to-delete-commits-from-remote-in-git.
This article explains how to remove commits from a remote server in Git.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #git, #github, #web-development, #learn-to-code, #coding, #technology, #software-development, #software-engineering, and more.
This story was written by: @timmouskhelichvili. Learn more about this writer by checking @timmouskhelichvili's about page, and for more stories, please visit hackernoon.com.
To delete commits from remote, you can use the git reset command if your commits are consecutive from the top or an interactive rebase otherwise. After you delete the commits locally, push those changes to the remote using the git push command with the force option.
346 Episoden
Manage episode 392702977 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/how-to-delete-commits-from-remote-in-git.
This article explains how to remove commits from a remote server in Git.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #git, #github, #web-development, #learn-to-code, #coding, #technology, #software-development, #software-engineering, and more.
This story was written by: @timmouskhelichvili. Learn more about this writer by checking @timmouskhelichvili's about page, and for more stories, please visit hackernoon.com.
To delete commits from remote, you can use the git reset command if your commits are consecutive from the top or an interactive rebase otherwise. After you delete the commits locally, push those changes to the remote using the git push command with the force option.
346 Episoden
כל הפרקים
×Willkommen auf Player FM!
Player FM scannt gerade das Web nach Podcasts mit hoher Qualität, die du genießen kannst. Es ist die beste Podcast-App und funktioniert auf Android, iPhone und im Web. Melde dich an, um Abos geräteübergreifend zu synchronisieren.