Skip to content

Instantly share code, notes, and snippets.

View mazfreelance's full-sized avatar
🎯
Focusing

nimza mazfreelance

🎯
Focusing
View GitHub Profile

first commit with tag

  • <tag> - eg: v0.0.1
$ git add.
$ git commit -m "Initial release"
$ git tag <tag> 
$ git push origin master --tags
@mazfreelance
mazfreelance / gist:9afe62cfb4c69d880ed5bf27cb1260ef
Last active September 19, 2023 04:10
setup PostgresSQL database
# Access PostgreSQL: Once PostgreSQL is installed, you can access it using the command-line tool psql.
# Open your terminal or command prompt and run:
psql -U postgres
# Create a Database: To create a new database, you can use the following SQL command inside the psql prompt:
CREATE DATABASE yourdbname;
# Create a User with a Password: You can create a new user and set a password for that user using the following SQL commands:
CREATE USER yourusername WITH PASSWORD 'yourpassword';