How do you undo a git pull or git merge?

Whoa so you just pulled from the master branch and lost your local changes which were committed but not pushed to repo? No problem!! You can use the following command: $ git reflog show "reflog" is used to reference logs, record when the tips of branches and other references were updated in the local repository. … Continue reading How do you undo a git pull or git merge?

GitLab CI: Running JOBS Locally with GitLab Runner using Shell on Windows

GitLab CI: Running JOBS Locally with GitLab Runner using Shell on Windows. Prerequisites: GitLab account Git installed in the system PowerShell A project hosted on GitLab Steps to be followed Step 1) Download Git Runner Source to install Git Runner: https://docs.gitlab.com/runner/install/windows.html Step 2) Create a folder named C:\GitLab-Runner\ and paste gitlab-runner.exe file (Download the binary … Continue reading GitLab CI: Running JOBS Locally with GitLab Runner using Shell on Windows

CI/CD Pipeline with GitLab

With¬†Auto DevOps in GitLab, It will automatically build, test, and deploy your application based on a predefined CI/CD configuration. To create a CI/CD pipeline here are pre requisites: GitLab account Git and Source code management basic knowledge Google cloud account for Kubernetes cluster Step-1) Create a project from a template in GitLab or you can … Continue reading CI/CD Pipeline with GitLab