Using Pre-Commit Hooks to Validate Code Changes

Pre-commit hooks are a type of Git hook that are executed automatically by Git just before a commit is made.

15 Jan 2023

Read article

Understanding and Creating Git Hooks

Git hooks are a powerful feature in Git that allows developers to automate various tasks at specific points in the Git workflow.

15 Jan 2023

Read article

Git Hooks and Automation

Continuous Integration (CI) and Continuous Deployment (CD) are software development practices that are becoming increasingly popular among development teams.

15 Jan 2023

Read article

Git and Continuous Integration/Continuous Deployment

Continuous Integration (CI) and Continuous Deployment (CD) are software development practices that are becoming increasingly popular among development teams.

15 Jan 2023

Read article

How do I undo git add before commit?

To undo a git add before a commit, you can use the git restore command and specify the file you want to unstage.

01 Jan 2023

Read article

How do I clone a specific Git branch?

When you clone a Git repository, you create a local copy of the repository on your machine. This local copy includes the entire repository, including all branches and commits. By default, when you clone a repository, the git clone command will automatically create a local copy of the master branch.

01 Jan 2023

Read article

Install GitHub CLI on Ubuntu 20

In this post, we'll show you how to install GitHub CLI on your Ubuntu 20 machine

19 Sep 2020

Read article

Git - global .gitignore file

In this quick tip, we'll see how to configure Git to use a global .gitignore file

06 Sep 2020

Read article

How to Delete Local/Remote Git Branches

If you have previously worked with Git for versioning your Angular code, there is a good chance that you had some situation where you wanted to delete a remote branch or multiple branches. This happens many times to developers, particularly in large projects

05 Sep 2020

Read article

GitHub Actions: Workflow Manual and HTTP Post Triggers with workflow_dispatch and repository_dispatch

In this article, we'll show you how to trigger your GitHub Actions workflow manually and by sending an HTTP POST request with workflow_dispatch and repository_dispatch

02 Sep 2020

Read article

Install Node.js and Angular CLI with GitHub Actions

A quick example to show you how to install Node.js and Angular CLI in GitHub Actions

30 Aug 2020

Read article

How to Delete All Artifacts in GitHub Actions

A quick example to show you how to delete all artifacts in GitHub Actions

30 Aug 2020

Read article

Get Current Branch Name in GitHub Actions with GITHUB_REF and Bash

A quick example to show you how to get the current branch name in GitHub Actions with GITHUB_REF and Bash

30 Aug 2020

Read article

How to Stop Git Always Asking for Username and Password When Using HTTPS

If Git is always asking you for your username and password when pushing or pulling from a GitHub repository, This is a common problem if you use HTTPS clone URL for cloning the repository

11 Feb 2020

Read article