Technology Insights

Delete a Remote Branch from GitHub

Deleting a remote branch from a GitHub account is easy though I have seen numerous ways listed and only one of them worked for me possibly because of syntax errors. Sometimes a temporary branch may be necessary because of adding a contractor to work on a project or possibly just to pause the current projects…

Technology Insights

Delete All Rows from a PostgreSQL Table

Use the truncate command from the CLI or via PGAdmin to delete all rows from a PostgreSQL database. To use PGAdmin follow the directions here or follow the directions below to truncate the table from the CLI. Connect: Connect to PostgreSQL with psql. Delete Rows: Type the following from the CLI. bash dev=# truncate table <em>table_name</em>…