Created Git brach with same name as one on remote

I created a new branch called table in Git, but I didn't run git fetch origin before creating it.

It turns out someone created a branch called table before I did.

How can I delete the one I created and checkout theirs?


Do the following:

$ git branch -D table
$ git checkout -b table origin/table

Need Your Help

How to add an id or a class to a form element in Drupal?

javascript forms drupal

What I'm trying to do is add an id to a hidden field, so that I can edit its value via JS. For example, I want to give the hidden element I create via a Drupal form with this:

JFrame Buttons and GridBagConstraints

java swing jpanel gridbaglayout

Why are my constraints for my buttons not working? I looked at the Java Docs and am doing the same thing the tutorials are doing, but for me the buttons stay the same regardless of what gridx, y, w...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.