how to undo the commit pushed using git revert | git revert | git tutorials

↔️ ↕️


hello how are you guys hope you guys

doing well i'm dylan and in this video

let's see how you can use uh git revert

in what cases are we using git revert

so uh a usage of git revert is if you

need to

undo a change that you have already

pushed the commits uh into your

remote branch and if it is

a bad commit and if you need to undo


uh the git revert

is the option that you can use right so

this is how you use it uh follow me here

i have created a repository called gate

river test uh for this demonstration and

i have already nine commits in it in

that repository you have only one file

called main dot py and these are the

changes i have done recently right

now what i will do is uh i'll add a

Related queries:

can we push without commit in git
how to not push a commit
how to push empty commit git
how to push a commit in git