Skip to content

Instantly share code, notes, and snippets.

View HeikoKramer's full-sized avatar

Heiko HeikoKramer

  • Frankfurt, Germany
View GitHub Profile

This gist contains multiple files. Each file contains a specific type of Apex or Visualforce comment header.

When code is no longer used, but can not be deleted from your org, add the @deprecated annotation to the File or Method Header.

@HeikoKramer
HeikoKramer / auto_git_file.md
Created July 19, 2020 20:41 — forked from darencard/auto_git_file.md
Automatic file git commit/push upon change

Automatically push an updated file whenever it is changed

Linux

  1. Make sure inotify-tools is installed (https://github.com/rvoicilas/inotify-tools)
  2. Configure git as usual
  3. Clone the git repository of interest from github and, if necessary, add file you want to monitor
  4. Allow username/password to be cached so you aren't asked everytime
git config credential.helper store