根据其doc,双击应该足够了。但是当我打开git bash并运行git lfs init
时,它不起作用:
$ git lfs init
git: 'lfs' is not a git command. See 'git --help'.
答案 0 :(得分:7)
“git lfs”不是git命令的唯一原因是因为string host = Dns.GetHostName();
IPHostEntry ip = Dns.GetHostEntry(host);
Console.WriteLine(ip.AddressList[0].ToString());
尚未放入public void run() {
long lastTime = System.nanoTime();
double amountOfTicks = 60.0;
double ns = 1000000000 / amountOfTicks;
double delta = 0;
long timer = System.currentTimeMillis();
int frames = 0;
while (running) {
long now = System.nanoTime();
delta += (now - lastTime) / ns;
lastTime = now;
while (delta >= 1) {
tick();
delta--;
}
if (running) {
render();
frames++;
if (System.currentTimeMillis() - timer > 1000) {
timer += 1000;
System.out.println("FPS: " + frames);
frames = 0;
}
}
stop();
}
}
private void tick() {
}
private void render() {
BufferStrategy bs = this.getBufferStrategy();
if (bs == null) {
this.createBufferStrtegy(3);
return;
}
Graphics g = bs.getDrawGraphics();
g.dispose();
bs.show();
}
。
这就是git-lfs.exe
应该穿的。
%PATH%
所以:
git-lfs-windows-amd64-0.5.3\install.bat
”set GIT_LFS_BIN_PATH="%LOCALAPPDATA%\GitLFS\bin"
IF EXIST %GIT_LFS_BIN_PATH% GOTO DIRECTORY_EXISTS
mkdir %GIT_LFS_BIN_PATH%
set "path=%PATH%;%GIT_LFS_BIN_PATH:"=%"
环境变量