Skip to main content

Posts

Showing posts from March, 2022

Git commands and errors

 The “ nothing added to commit but untracked files present ” error is raised when you create new files in your local working copy of a repository and forget to add them to the staging area before you pull a new version of the repository.   List All Branches To see local branches, run this command: git branch. To see remote branches, run this command: git branch -r. To see all local and remote branches, run this command: git branch -a.   To delete a local branch in Git, you simply run: git branch -d <branch-name> ... git branch -D <branch-name> ...  Show all your stashes You can show all your stashes with git stash list. Maybe you can write a script to show both git stash list   and git log and use it with an alias. STASH RELATED QUERIES  Q) How to discard the particular stash? Q) How to discard the particular files in the stash? Q) How to modify the particular files in the stash? Q) How to remove/delete the stash? Q) How to revert the stash? Q...

How To Fix “100% Disk Usage Issue On Windows 10 Or 11”

Brief The below mentioned approach solved "100% Disk Usage Issue On Windows 10 in my Sony VAIO" laptop. Reload The Search Index After Deleting It Windows Search Index is one of the most prevalent causes of high disc utilization. It is responsible for swiftly locating files and directories by analyzing the disc and converting it into an index. However, certain Windows 10 vulnerabilities might enable the search index to perform unlimited loops, forcing the disc to overflow. To fix this problem, go to Start and enter “Indexing.” Select I ndexing Options from the drop-down menu. Select Advanced from the drop-down menu. Then you have to select Rebuild . Choose OK when asked. This will wipe and reconstruct the index, perhaps resolving the factor that causes the hard drive to overheat. It, unfortunately, may just keep it from entering a ‘search loop’ for a short time, until Windows is restarted. Thankfully, there is a process of turning off the Windows Search Index completely. Refe...