I want to delete or remove last commit in Git | Git Questions

preview_player
Показать описание
In this video we will learn how to delete your last commit from git. This will remove all the changes that you have done in your last commit
Рекомендации по теме
Комментарии
Автор

This is really helpful for me. I'm facing many errors due to previous commits. Now It's solved. Thanks man.

praneshchow
Автор

for those who are wondering how to reflect this operation in remote Repo, run this command : git push --force origin master

fahemzoldyck
Автор

Thank you for sharing..It really helped..I was stuck in this issue..you explained so clearly ..keep uploading..

nutankumari
Автор

Very well explained, I have saved this code for future reference. Thank you very much. Very helpful and easy way

sowmyamp
Автор

Nicely described. This was the question on my mind before watching this video.

billbakshi
Автор

Great ...how to do if commit is already pushed to remote?

dip
Автор

god damn thank you so much i was going insane

holmes
Автор

Thank you for your video! Is there a way to delete or remove last commit using GitHub Desktop?

ainigma
Автор

How can I delete from the repository thats on the website of github?

LORD_ORiGiNALz
Автор

thank you my Indian friend coming from a Filipino :)

kaiser
Автор

I'm looking for this kind of tutorial, can't find any understandable and simple concept on google, YT might be my new search engine for problems, sometimes google is such a pain, tiresome, and so complex.

VladdyHell
Автор

can you explain all commands in git if possible .. sorry to ask you actually your explanation is very nice so ... thanks

navenreddyaleti
Автор

I have a question
Suppose I have 3 files named as file1, file 2, file 3. Now all this files in committed. It means all r in local repo. Now it's time to push from local repo to remote repo. If I push that mean all 3 files move from here to remote repo. But due to some reasons I don't want to push file 2.
Is is possible to push only file 1 and 3

billbakshi
Автор

all the videos like this have a bunch of dislikes I wonder why ? Why cant Github make this shit easy for us??

aholmes