Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GitReferenceToTxtNew to Visual Studio Code? Get it now.
GitReferenceToTxt

GitReferenceToTxt

JasonMacKeigan

|
102 installs
| (0) | Free
Creates a txt file with the latest id as name and content.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Reference To Txt File

A visual studio code extension that creates a .txt file with the last commit reference on the desktop or some user-defined path.

Visual Studio Code Extension

How to use

There are effectively 2 ways to use this at the moment.

  • You can either explicitly type the command using the command palette via (CTRL+SHIFT+P) on windows and (CMD+SHIFT+P) on mac.

    CommanPalette

  • The other, arguably easier way, is to simply click the button in the bottom left that shows a pound icon, arrow icon, and file icon grouped together (that's the best I can do okay).

    StatusBarIcon

User-defined settings

You can update your .code-workspace file to modify the path that the .txt file is created in and remove credits (I mean, why would you though?).

    "settings": {
        "gitReferenceToTxt.folderAbsolutePath": "C:/My/Custom/Path",
        "gitReferenceToTxt.credits": false
    }

Credits

Created by Jason MacKeigan for the 2020 PROG1700 class. I mean, the other guys can use it too I guess.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft