JJZolx wrote: 
> Thanks for the help. When I run that command I end up with only a hidden
> .git subdirectory of about 88 MB and nothing else.
> 
> > 
Code:
--------------------
  >   > 
  > C:\>git clone -n --depth 1 https://github.com/Logitech/slimserver.git 
"D:\Git\Logitech Media Server"
  > 
  > Cloning into 'D:\Git\Logitech Media Server'...
  > remote: Counting objects: 4452, done.
  > remote: Compressing objects: 100% (2740/2740), done.
  > remote: Total 4452 (delta 514), reused 3579 (delta 351)
  > Receiving objects: 100% (4452/4452), 88.41 MiB | 737 KiB/s, done.
  > Resolving deltas: 100% (514/514), done.
--------------------
> > 
> 
> So if I'm running and keeping both 7.7 and 7.8 up to date locally,
> then I would update the local repo from Logitech's, then update each
> of the branch version repos from my local repository, correct?

I think in terms of the git mindset, there aren't "branch version
repos"...there's just the local repo and when you check out a branch,
the code resides in the same directory tree as the local repo.

Anyway, once you clone the repo, you need to check out a branch.  I.e.

cd "D:\Git\Logitech Media Server"
git checkout "7.8"

To check the status of your repo/branch, try these commands:

cd "D:\Git\Logitech Media Server"
git remote show origin
git branch -r
git status

When you update the local repo via a 'git pull' (same as a svn up), you
may want to clean the local repo first, discarding any local changes you
might have made:

cd "D:\Git\Logitech Media Server"
git reset --hard
git clean -fd

Then update the repo:

cd "D:\Git\Logitech Media Server"
git pull

That will update ALL the branches.  Of course, only 7.7 and 7.8 are
likely to have had any commits so they're the ones where you'll see
activity.


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