skip to Main Content

How to ignore files only on my machine?

If we want to ignore files (they will not suggested to be added as staged) we usually use .gitignore in root folder of our repository. There is one problem this file is shared between all contributers of that repository.

What to do when we want add filter only on our machine? For example only we use somekind tool or extension which generates some sort of files.

We have two options.

Read more...

Set Notepad++ as default Git editor

A default editor for Git in Windows system is notepad, which we can all agree that editor is not the greatest editor in the world.

We can change it to Notepad++. Let’s assume that Notepad++ was installed in default path C:\Program Files (x86)\Notepad++\. Then the command to set Notepad++ as default git will look like this:

git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

Read more...

Why elections in USA are held on Tuesday?

We need to come back to begins of USA when there was no cars.

They are not held on Sunday because Sunday is a holy day and everyone needs to go to church.

Elections are not held on Monday because one day could be not enough to nearest polling place. You need to think about farmers with slow horse :).

To solve those issues elections are held on Tuesday.

Read more...
Back To Top