Git

Git is software for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development.

By toswebdev, 12 June, 2023

To create an empty commit directly to the UAT branch, you can follow these steps:

  1. Make sure you have the UAT branch checked out in your local repository. You can switch to the UAT branch using the following command:

    git checkout uat         
  2. Use the --allow-empty flag with the git commit command to create an empty commit. This flag allows you to create a commit even if there are no changes to the working directory. Run the following command:

Tags

By toswebdev, 22 July, 2022

20 Git Command I Use All The Time — Git CheatSheet

So let's get started:

1. git init

This command is used to initialize a project as a git repository.

2. git remote add origin

Example:

git remote add origin https://github.com/example/Git-CheatSheet.git

This command is used to add or connect to a remote repository.

3. git remote

This command is used to view connected remote repositories.

Tags