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!)


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

Accented/umlauted characters in C?

c xcode macos character-encoding

I'm just learning about C and got an assignment where we have to translate plain text into morse code and back. (I am mostly familiar with Java so bear with me on the terms I use).

Linking multiple buttons to one method with different jobs

iphone objective-c cocoa-touch methods

I have a huge crazy scene in my story board that has 36 different buttons, and each one means something different when clicked on. I really don't want to go about creating 36 different methods, so ...