project-navigation
Personal tools

Author Topic: GIT: Branches description.  (Read 3507 times)

Offline O01eg

  • Rookie
  • ***
  • Posts: 73
    • View Profile
GIT: Branches description.
« on: October 10, 2010, 08:50:09 pm »
I want to free some space by deleting some unused branchers. Whan does mean these branches?
Quote
  ai_lua
  buildbot
  hud
  maputils_java
  renderer_work
  rudolforadiant
  savegame_break
  tron/configure
  ufoai_2_legacy
  ufoai_firemode_patch
  ufoai_menu
  ufoai_sdl
  ufoai_wilminator
p.s. how to add "makefile" branch with "new build system" if I don't see it in "remotes/origin/"?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: GIT: Branches description.
« Reply #1 on: October 11, 2010, 10:36:17 am »
it was removed after it was merged back into master

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: GIT: Branches description.
« Reply #2 on: October 12, 2010, 04:21:43 pm »
btw. you won't free much space by deleting branches - branches are just pointers to commits

Offline O01eg

  • Rookie
  • ***
  • Posts: 73
    • View Profile
Re: GIT: Branches description.
« Reply #3 on: October 12, 2010, 05:46:06 pm »
Does `git gc` and `git prune` not delete unused commits?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: GIT: Branches description.
« Reply #4 on: October 12, 2010, 07:13:36 pm »
that's the point - the commits are often still used when they were merged - just the branch pointer isn't there anymore.