Tuesday, April 4, 2023

gitignore is not ignoring already committed files or folders

When gitignore is not working for already committed files or folders.

In that time you need to run the below comment first:

git rm --cached file_name

Or

git rm --cached folder_name

Or 

git rm --cached -r folder_name

It will clear committed stuff from git.

Then you can commit and push your branch.

Make your window center in Ubuntu or Zorin OS

Make your window center in Ubuntu or Zorin OS by below command : gsettings set org.gnome.mutter center-new-windows true Hit enter You're...