OWASP / owasp-java-encoder

The OWASP Java Encoder is a Java 1.5+ simple-to-use drop-in high-performance encoder class with no dependencies and little baggage. This project will help Java web developers defend against Cross Site Scripting!
https://owasp.org/www-project-java-encoder/
BSD 3-Clause "New" or "Revised" License
493 stars 111 forks source link

Rename main branch #41

Closed jeremylong closed 4 years ago

jeremylong commented 4 years ago

Rename master to main.

jeremylong commented 4 years ago

The master branch has been renamed to main. Anyone coding against master needs to update. You can either re-clone the repo or follow these instructions:

https://www.git-tower.com/learn/git/faq/git-rename-master-to-main/#what-your-teammates-have-to-do

# Switch to the "master" branch:
$ git checkout master

# Rename it to "main":
$ git branch -m master main

# Get the latest commits (and branches!) from the remote:
$ git fetch

# Remove the existing tracking connection with "origin/master":
$ git branch --unset-upstream

# Create a new tracking connection with the new "origin/main" branch:
$ git branch -u origin/main