Delete Git Branch

Git Branch

1. Checkout "MyBranch" before deleting {OldBranch}. It makes "MyBranch" current/working branch.
     $ git checkout {MyBranch}
2. Delete local "MyBranch". This is the safest option for deleting a local branch since branch doesn't get deleted if there is any unmerged changes exist.

Using Git Branches

Software Engineers deal with git branches pretty much every day. Git branches are an integral part of our everyday workflow. To keep it as a reference, we will talk about some every day required git commands for branching including how to create a branch, checkout branch and finally, how git merge can integrate the history of independent branches.

Git Branch
[ Color coded serial numbers represent Git Flow ]
1. List all of the branches in a repository.
     $ git branch
2. Create a new branch called "MyBranch".

URL Decoder

In many cases, we may find data escaped. Especially for the data that are represented by an unreserved character. Most of the unreserved characters are automatically encoded by some systems. We know that, the characters allowed in a URI are can be either reserved or unreserved. Any character that is not an alphabetic character, a number, or a special character that is being used outside its normal context is should be encoded. "%7e" is sometimes used instead of "~" in an http URL path. Considering every possible scenarios, if you need to decode your URI, use the tool below_

Enter your encoded URL:

unescape():

decodeURI():

decodeURIComponent() (recommended):

URL Encoder

If you are a web developer or blogger, you need to put together a string for using it in a URL in many cases. To do that, you have to be very careful, you have to account some special characters that have special meanings in URL such as question marks or ampersands or multi-bytes Unicode characters that must be encoded properly to be expressed properly inside a URL. If you want to make sure that your URL follows proper rules, this is a handy encoder to check with.

     Test characters: ~!@#$%^&*=+(){}[],?/:;'\"\\
[ Outputs will be the encoded values of Test Characters unless input value is provided ]

Enter your URL:

escape():

encodeURI():

encodeURIComponent() (recommended):

Compare unescape(), decodeURI(), and decodeURIComponent()


unescape() Method
     Test characters: ~!@#$%^&*=+(){}[],?/:;'\"\\
We know that escape() method returns a string of the argument with all spaces, punctuation, accented characters and any non-ASCII characters replaced with %HexNumber. The function unescape() does simply the opposite. It takes the encoded version of a string and reverse the string back to its decoded original state. By the way, both of these methods does not work with Unicode strings and both have been deprecated. The syntax of this function is_
     unescape(string);
For examine, using escape() on the Test Characters will give the following encoded string. Using this encoded string in the input box and decoding will return the original Test String.
     %7E%21@%23%24%25%5E%26*%3D+%28%29%7B%7D%5B%5D%2C%3F/%3A%3B%27%22%5C

Grab The Button...

Grab the above button and add to your blog or website to get easy access to Virtual Species. Simply click the textbox, copy the code and paste where you want to see the button. That's it!