[ Fixes ] How to fix Git show all file as modified in WSL
When you open your code in Windows, and run git in WSL bash, you will have a big chance to…
Design – Plan – Write
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…
Create a new repository, or reuse an existing one. Generating a new SSH key Open Git Bashpaste the text below, substituting…
$git config You can use it to configure the author’s name, email address, file formats and many more to be used with…
When you are using git, most probably you may used git merge or git rebase to combine two branches. Pretty…
First, you create your branch locally: git checkout -b <branch-name# Create a new branch and check it out The remote…