Reverting a specific commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am using git for code management.

I have some query regarding reverting the commit in git.

Can we revert a specific commit in git ?

Eg. One of our X developer has committed the code in master branch last
week, after which there were several commits to master branch, now there was
an issue with the code committed by X developer and now I need to
revert/discard just his commit keeping the other commits done after him as
intact.

Can anybody give a solution for this with all the commands.

Thanks & Regard
M.K

-- 
View this message in context: http://git.661346.n2.nabble.com/Reverting-a-specific-commit-tp5561992p5561992.html
Sent from the git mailing list archive at Nabble.com.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]