Question: My asp.net site has a navigation that uses an .active css tag to change the color of the navigation color on active pages. 

This is in my site.master header

```
.active
{
 background-color: #c62020; 
 border-right: 1px solid;
 margin-left: -1px;
}

</style>

```

This works great as is. But now I want it to change the background color depending on a variable, I have the code to do it in the Site.Master.cs.

I understand that I cant use <%= %> inside the header. Whats the best way to get this to work?

Thanks

Answer: 
It sounds like you completely want to discard the `master` branch, in that case, why not simply delete it and branch off `dev`?

```
git checkout dev
git branch -D master
git checkout -b master
git push origin +master

```

That last `git push` will force an update to your `origin` remote.
You can do those simple steps:

revert all the changes in your master and the add new code as the first commit:

```
git revert HEAD~XXX (where XXX is the number fo the commits you wish to delete)

```

now add the files you want to add to your branch

Once you are satisfy with your state push the updated code you have to enforce the change to the remote branch by using the +
the (+) sign is update-force which set the code of branch to the updated code regardless of what you have on the remote one

```
git push origin +master

```