git cherry-pick : what it is and how to use it
This command basically allows us to copy a single commit from one branch to another. It’s very useful when we…
Design – Plan – Write
This command basically allows us to copy a single commit from one branch to another. It’s very useful when we…
The purpose of the git revert command is to remove all the changes a single commit made to our source code repository.…
To untrack files already added to a Git repository, you can follow these steps: Step 1: Commit any outstanding changes:…
After pushing my code to the remote branch and creating a PR. I made some more changes to my local…
When you open your code in Windows, and run git in WSL bash, you will have a big chance to…
Gitlab, one of the famous Git repository manager which comes with a web-based DevOps life cycle tool, inbuilt wiki, container registry, issue…
rebasing If you pull remote changes with the flag --rebase, then your local changes are reapplied on top of the remote…
Undo a Git Add before commit To undo git add before a commit, run git reset <file> or git reset to unstage all changes. //…
The biggest difference between Git reflog vs. Git log is that the log is a public accounting of the repository’s…
The “fatal: refusing to merge unrelated histories” Git error occurs when two unrelated projects are merged (i.e., projects that are not aware of each…