Skip to main content

Does cherry picking a commit removes it from the original branch in GIT

No, if you cherry-pick a commit from one branch to another and then remove it from the original branch, the commit will not be removed from the other branch. Cherry-picking a commit means that you are applying the changes introduced by that commit to a different branch. The original branch and the new branch are separate entities, and the commit exists independently in each branch. Therefore, if you remove the commit from the original branch, it will only be removed from that branch, and the commit will still exist in the other branch where you cherry-picked it.

Comments

Popular posts from this blog

Vehicle Parking Management System in C++

this project is developed by Awais Azam Features Graphically display the parking locations(symbolically) Keep record of the arrival and departure of the vehicles with date-time specified  Resume the data from the storage  Can check history (arrival + departure) Automatically choose the parking location Alarm if any vehicle violate the parking order Description  This project is coded in C++ using codeblocks  compiler, it has almost 500 lines of code. easy for the beginners in the C++ language , almost each line is commented and explaining its purpose. As per the working of this app , for the first run it create some text files to keep the record of the vehicles ,  First screen show the menu from which user has to select an option as per his/her need   As the screen shows , above is the screen shot of the application, it is not a small project as it looks like it almost cover all the major topics of C++ (not OOP) you can als...

Explaination Of Electron Gun

Thomson discovered the electron using this concept in 1897 after conducting experiments with cathode rays and studying their uses. Electron guns are a very versatile electrical component. They are essential to a number of devices, from 3D printers and welders to the large synchrotron at the Diamond Light Source in the UK and the electric systems of Kimball Physics in the US So how they work It’s all down to kinetic energy and electrical currents. When installed in an electrical device’s vacuum tube, the gun turns electrons and ions into usable beams of energy by releasing them from their  metal source (cathode). This process is known as thermionic emission. Inside the gun there is a small filament that heats the cathode, which makes it release a stream of electrons. The electrons accelerate rapidly and the resulting beam is pulled toward the neighbouring anode, which is positively charged. There are small holes in the anode which allow some electrons to pass through, so a...

14 Most interesting websites , which is a great time pass and fun

Down is the list of websites which are very interesting by their concept of presentation , most of them are designed by the help of social media website but their concept is somehow other-way around  Just visit them and comment bellow if you like ...............Click on headings to visit 1   Billion Facebook Profile Pics on a Page     Billions of facebook profile pictures are grouped together on a single page preview you just scroll       down and have fun and you can click on image to see the person's facebook profile 2  Crazy Card Trick        This website shows you the playing cards you need to select of your choice and they will show you    a magic   3 Twitter Clock    This is a unique twitter clock which shows you time taken by the tweets of the users , have a look         and you will understand  4  Stranger MeetUp    Just click on chat butt...