JJZolx wrote: 
> So using
> 
> git clone -n --depth 1 https://github.com/Logitech/slimserver.git
> 
> will the repository contain both 7.7 and 7.8 branches?

Doing a:

# git clone -n --depth 1 https://github.com/Logitech/slimserver.git
/full/path/to/local/repo/server

..results in the following branches being contained in the local repo:

Code:
--------------------
    
  origin/7.0
  origin/7.1
  origin/7.1_primary-contributor
  origin/7.2
  origin/7.3
  origin/7.4
  origin/7.5
  origin/7.5.2
  origin/7.5_embedded
  origin/7.6
  origin/7.6.0_orange
  origin/7.6_bug17173
  origin/7.6_lms
  origin/7.6_onebrowser
  origin/7.7
  origin/7.7.1-installer
  origin/7.7_dlna
  origin/7.8
  origin/HEAD -> origin/master
  origin/master
  origin/pre-7.0
  
--------------------

So now you see why the .git directory weighs in a 252mb.  There's a
whole lot 'o code hiding in there! Switching from 7.8 to, say, 7.7 is as
easy as:

# cd /full/path/to/local/repo/server
# git checkout '7.7'


------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=95917

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to