Skip to content

Instantly share code, notes, and snippets.

@T1mL3arn
Created October 4, 2016 06:53
Show Gist options
  • Save T1mL3arn/e4d7fd3a81266b759bb3fb960a37b5ba to your computer and use it in GitHub Desktop.
Save T1mL3arn/e4d7fd3a81266b759bb3fb960a37b5ba to your computer and use it in GitHub Desktop.
HaxeDevelop/FlashDevelop main menu TortoiseGit commands
<!--
1. Find MainMenu.xml (It helps you - http://www.flashdevelop.org/wikidocs/index.php?title=Configuration)
2. Put this menu item in MainMenu.xml below any other menu you want
3. Restart FD/HD
-->
<menu label="&amp;GIT" name="GIT">
<button label="&amp;Init Repository" click="RunProcess" tag="$(Quote)git$(Quote);init $(ProjectDir)" image="274|0|4|4" />
<!-- shortcut is Ctrl+Shift+? -->
<button label="&amp;Add Current File" click="RunProcess" tag="$(Quote)C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe$(Quote);-command add -path $(Quote)$(CurFile)$(Quote)" image="304|0|4|4" shortcut="Control|Shift|OemQuestion"/>
<!-- shortcut is Ctrl+Shift+> -->
<button label="Commit Current &amp;File" click="RunProcess" tag="$(Quote)C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe$(Quote);-command commit -path $(Quote)$(CurFile)$(Quote)" image="62" shortcut="Control|Shift|OemPeriod" />
<button label="&amp;Commit..." click="RunProcess" tag="$(Quote)C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe$(Quote);-command commit -path $(Quote)$(ProjectDir)$(Quote)" image="62" shortcut="Control|Shift|L" />
</menu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment