LoginSignup
0

More than 3 years have passed since last update.

Windows で Automatic git sync

Posted at

- git(https://git-scm.com/download/win) をダウンロードしてインストールする option(with linux command)

gitsync.bat
REM Switch Disk
D:
cd D:\your-git-folder
git checkout -f master
git fetch origin master

REM Keep Local Change File Here
git update-index --assume-unchanged Unity/Assets/Model/AppInfo.cs

REM Remove Merge Problem File Here
rm -rf Unity/Assets/Model/AppInfo.cs.meta

git pull origin master
PAUSE

後は TaskManager 実行するだけ

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0