UFO:Alien Invasion

Development => Coding => Topic started by: O01eg on October 10, 2010, 08:50:09 pm

Title: GIT: Branches description.
Post by: O01eg 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/"?
Title: Re: GIT: Branches description.
Post by: Mattn on October 11, 2010, 10:36:17 am
it was removed after it was merged back into master
Title: Re: GIT: Branches description.
Post by: Mattn on October 12, 2010, 04:21:43 pm
btw. you won't free much space by deleting branches - branches are just pointers to commits
Title: Re: GIT: Branches description.
Post by: O01eg on October 12, 2010, 05:46:06 pm
Does `git gc` and `git prune` not delete unused commits?
Title: Re: GIT: Branches description.
Post by: Mattn 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.