1

I uploaded my git revisioned project to GitHub. From there I can see all my previous commits, but not the old branches.

Should I also push my local .git directory for that?

Pietro
  • 12,086
  • 26
  • 100
  • 193

1 Answers1

5

No (and note that "upload" doesn't really mean anything in the Git world.)

If you have other local branches, you need to explicitly push them (try git push --all).

Oliver Charlesworth
  • 267,707
  • 33
  • 569
  • 680