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?

Advertisement

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

Beginners Guide on how to upload/push a project to GitHub in 5 mins!

GitHub is a web-based hosting service for version control using git. To understand GitHub, you must first have an understanding of Git. Git is an open-source version control system. Git is similar to other version control systems—Subversion, CVS, and Mercurial. Git was developed by Linus Torvalds and released in 2005 whereas GitHub was released in … Continue reading Beginners Guide on how to upload/push a project to GitHub in 5 mins!