Press enter to see results or esc to cancel.

fatal: git checkout: updating paths is incompatible with switching branches.

Using GIT I tried to pull down a new remote branch using: git checkout –track -b my-branch-name origin/my-branch-name When I did this I got this error message: fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout ‘origin/my-branch-name’ which can not be resolved as commit? This error message was a …

Continue reading

Java primitive data type sizes for byte, short, int, long, float, double and char

A handy list for Java data types and sizes Integer Data Types Data Type Size Digits Min Max byte 8-bit signed 3 -128 127 short 16-bit signed 5 -32,768 32,767 int 32-bit signed 10 -2,147,483,648 2,147,483,647 long 64-bit signed 19 -9,223,372,036,854,775,808 9,223,372,036,854,775,807 Floating Point Data Types Data Type Size float single-precision 32-bit IEEE 754 floating …

Continue reading