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 also check my other project which is also

Sonic Weapons

To disperse crowds and prevent rioting, various forms of non-lethal weapons (NLW) are used. Among these, interestingly, is sound. Known as an acoustic or sonic weapon, infrasound (superlow frequency) and ultrasound (super-high frequency) greatly affect human ears. They can disorientate a target and have psychological effects as well as physical effects of nausea and damage to blood vessels. Explanation Ultrasound can be increased to 120 decibels (the same volume as a jumbo jet taking off), which is considered the human pain threshold. In contrast, infrasound feels like a damaging vibration or pressure wave, as it’s at a frequency too low for humans to hear. When exposed to high levels of sound, the influx of energy has a painful effect on the body. As well as huge decibels of volume, the variations in frequency can also cause damage. For instance, an infrasound of seven or eight Hertz can rupture blood vessels. Certain types of sound within the frequencies we are able to he

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 con