Few useful git commands

To delete the branch from remote: git push origin --delete <branchName> To delete the branch locally: git branch -D <branchName> For aborting the merge, follow the sequence: git merge --abort git reset --merge To revert the last commit (which has not been...

SOLID STATE ELECTRICITY METROLOGY

WHAT IS ELECTRICAL ENERGY ? Kinetic Energy of the generator or Chemical Energy of the cell is converted into Electrical Energy which flows through the circuit and is converted back into Light, Heat, and kinetic Energy. Energy flows from source to load. ELECTRICAL...

Integrate PostgreSQL with Grails

In my current Grails project I am using PostgreSQL database so I just wanted to share the method to integrate PostgreSQL with Grails project. Step 1: Install PostgreSQL on Linux To install postgreSql use this command:- sudo apt-get install postgresql The default...