Question: I am working on user story say US 2001:Test user story and I made two push to remote server. Code was reviewed and merged in the branch. In this I did following

```
1.First Push

   git commit -m "US 2001:Test user story"
   git pull --rebase origin master 
   git push origin HEAD:refs/for/master

2. Second push
   git commit --amend
   git pull --rebase origin master 
   git push origin HEAD:refs/for/master

```

After review reviewer merged that code to branch. Now I identified further changes in that user story. I am confused how to commit and push the code. Now I cannot do `git commit --amend` as git log is showing commit for others on head.

Do I need make fresh commit and push the code as different change set id? I am new to Git.

Answer: 
This a bug in JavaFX (8). If there's a space in the font file's pathname, it won't load, and throw an exception, as it happened in with you.

This means that we shouldn't load fonts from a CSS file, unless we're sure the file path won't contain any spaces.

There is a better, safe way to load fonts (~first line inside `main()`):

```
Font.loadFont(getClass().getResourceAsStream("/font.ttf"), 16);

```
For others who have come to this answer when searching:

The same error also occurs if you accidently leave out the quotes for the font name in a style, e.g.:

```
-fx-font-family: Monserrat;

```

is wrong, it needs to be

```
-fx-font-family: 'Montserrat';

```