Giter Site home page Giter Site logo

linus5 / gvfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/vfsforgit

0.0 1.0 0.0 2.05 MB

Git Virtual File System: Git at Enterprise Scale

Home Page: http://gvfs.io/

License: MIT License

C# 88.03% Inno Setup 0.77% C++ 9.55% C 1.04% Shell 0.19% Batchfile 0.42%

gvfs's Introduction

GVFS

What is GVFS?

GVFS stands for Git Virtual File System. GVFS virtualizes the file system beneath your git repo so that git and all tools see what appears to be a normal repo, but GVFS only downloads objects as they are needed. GVFS also manages the files that git will consider, to ensure that git operations like status, checkout, etc., can be as quick as possible because they will only consider the files that the user has accessed, not all files in the repo.

Installing GVFS

Building GVFS

If you'd like to build your own GVFS installer:

  • Install Visual Studio 2017 Community Edition or higher (https://www.visualstudio.com/downloads/).
    • Include the following workloads:
      • .NET desktop development
      • Desktop development with C++
      • .NET Core cross-platform development
    • Include the following additional components:
      • .NET Core runtime
      • .NET Framework 3.5 development tools
      • C++/CLI support
      • VC++ 2015.3 v140 toolset
      • Windows 10 SDK (10.0.10240.0)
  • Create a folder to clone into, e.g. C:\Repos\GVFS
  • Clone this repo into the src subfolder, e.g. C:\Repos\GVFS\src
  • Run \src\Scripts\BuildGVFSForWindows.bat
  • You can also build in Visual Studio by opening src\GVFS.sln (do not upgrade any projects) and building. However, the very first build will fail, and the second and subsequent builds will succeed. This is because the build requires a prebuild code generation step. For details, see the build script in the previous step.

The installer can now be found at C:\Repos\GVFS\BuildOutput\GVFS.Installer\bin\x64\[Debug|Release]\SetupGVFS.<version>.exe

Trying out GVFS

  • GVFS will work with any git service that supports the GVFS protocol. For now, that means you'll need to create a repo in Visual Studio Team Services (https://www.visualstudio.com/team-services/), and push some contents to it. There are two constraints:
    • Your repo must not enable any clean/smudge filters
    • Your repo must have a .gitattributes file in the root that includes the line * -text
  • gvfs clone <URL of repo you just created>
  • cd <root>\src
  • Run git commands as you normally would
  • gvfs unmount when done

Licenses

The GVFS source code in this repo is available under the MIT license. See License.md.

GVFS relies on the PrjFlt filter driver, formerly known as the GvFlt filter driver, available as a prerelease NuGet package.

gvfs's People

Contributors

sanoursa avatar jeremyepling avatar bbodenmiller avatar kevin-david avatar rootulp avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.