TortoiseGit… switch to local or remote branch

TortoiseGit lists my local branches like "add-spaceships" and also "remote/origin/add-spaceships" when I want to switch. If I already committed+pushed my local branch, is there any difference which I pick? Any general rule on which is right?

(I'm a noob to Git, simple answers preferred!)

Answers


remote/origin/add-spaceships is a remote branch, an indication (and reference) of the state of your remote repository's branch. If you just pushed the local branch to this remote, it should be at the same commit of your local add-spaceships branch's tip.

Your development must happen on local branches, so just switch to add-spaceships.


Need Your Help

QTabWidget with multiple line?

qt4 qtabwidget

Is it possible to make QTabWidget behave like windows system , use multiple line when there's just too much tabs ?

vagrant ssh keys chicken and egg

ssh vagrant ssh-keys

I use vagrant with a 3rd party linux box.

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.