let's say that i have file called getData as the following
class getData{
public function retriveData() {
echo 'data retrived';
}
public function checkData() {
echo 'data checked'
}
}
then i edit it to be like this
class getData{
public function retriveData() {
echo 'data retrived';
}
}
then i commit the last change and after while i want to get checkData() back what is the best method to do that without damage any of my project files and make my file back to previous form