Skip to content

Instantly share code, notes, and snippets.

@stancel
Created December 11, 2019 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stancel/97950f9b09aabcdba9e7d6b60422f55b to your computer and use it in GitHub Desktop.
Save stancel/97950f9b09aabcdba9e7d6b60422f55b to your computer and use it in GitHub Desktop.
Git Repo Info Template that shows the repo info and reminds me to exclude this folder from Syncthing

Git Repo Info

TO-BE-FILLED-IN

Repo Type: Public or Private (adjust here)

	origin	PASTE-HTTP-LINK-HERE
	origin	PASTE-GIT-LINK-HERE

This indicates that this subfolder should not be synced by SyncThing since it contains a .git folder, which has proven to cause some issues.

Instead this folder should be included in the .stignore file of the parent (or one of the parent directories) that is the folder being shared by SyncThing. Having this folder included in that file will exclude it as part of the SyncThing sync process which is the desired goal.

We could then use the Git repo listed in this file to push or pull the needed files on each computer as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment