Git is a powerful version control system that has become a cornerstone of modern software development. Its significance extends beyond just managing source code; it plays a crucial role in the realm of test automation. This article delves into how Git enhances the test automation process, highlighting its benefits, best practices, and integration with other… Continue reading The Role of Git in Test Automation
Tag: git
Troubleshooting cloning errors
If you’re having trouble cloning a repository, check these common errors. HTTPS cloning errors There are a few common errors when using HTTPS with Git. These errors usually indicate you have an old version of Git, or you don’t have access to the repository. Here’s an example of an HTTPS error you might receive: >… Continue reading Troubleshooting cloning errors
How to fix Git Clone “Filename too long” Error in Windows?
There is an option to do as part of the “git clone” command if you wish to fix the error while cloning the repository. Please enable flags to accept using the “-c” option and then pass core.longpaths=true as below. git clone -c core.longpaths=true
Commit the changes to the GitLab using the GitHub desktop application
Steps to commit the changes to the GitLab using the GitHub app, do the following steps Using the GitHub Desktop app, we can commit, push, and pull the details. For that, ‘Add’ the existing repository to the GitHub desktop app and add the repository that is already cloned to the local system. This newly added… Continue reading Commit the changes to the GitLab using the GitHub desktop application
Clone GitLab repository to the local system
We can clone the repository to the local system by using the following ways. Click the ‘Code’ button and copy the ‘Clone with SSH’ link. Open the ‘Open Git Bash Here‘ by right clicking from the folder C -> _repos Then type ‘git clone’ and paste the copied link. Select the folder to clone the… Continue reading Clone GitLab repository to the local system
Establish the connection between GitLab and the local system
SSH keys allow you to establish a secure connection between your computer and GitLab. For that, Create the SSH key. Copy the SSH public key and paste it in the GitLab Go to GitLab Edit the profile Click SSH keys Paste the SSH public key and the additional details. Save.
Create SSH key for GitLab
To create the SSH key for connecting the GitLab Open the Windows PowerShell type the following command. ssh-keygen -o -t rsa -C “emailid@jobinandjismi.com” If enter the file path else click enter. For “Enter passphrase”: click enter. For “Enter same passphrase again”: click enter After doing this, a public key and a private key will be… Continue reading Create SSH key for GitLab
How to resolve TypeError: sass.sync is not a function when running gulp local in Git
You need to change the sass compiler to use dart–sass instead of the default node–sass like this: const sass = require(‘gulp-sass’); sass.compiler = require(‘sass’); Or for version 5 of gulp–sass: const sass = require(‘gulp-sass’)(require(‘sass’));
How to resolve Error: Cannot find module ‘gulp-sass’
First check the nvm version. This issue will usually comes for old version so for that we need to update the nvm version. Just do npm update and then npm install gulp-sass –save-dev in your root folder, and then when you run you shouldn’t have any issues. Edit your package.json. Change: “gulp-sass”: “^2.3.2” to “gulp-sass”:… Continue reading How to resolve Error: Cannot find module ‘gulp-sass’
How to resolve error: Cannot find module ‘node-sass’
This error is for node-sass is not present … to solve this just you want to run following command npm install node-sass npm install –save-dev node-sass npm rebuild node-sass –force sudo npm rebuild node-sass –force