git clone

Created By: Miguel Ibars, 7 Stars, Last Updated: 01/07/21 15:05:43

Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!

From the project's README:

Release

alfred-git-clone

An Alfred workflow to clone git repos like a master 🐑🐑

alfred-git-clone

Install

Download the latest version from Releases and double click the downloaded file to install it.

Usage

  1. Copy the repo URL to the clipboard (ending in .git).
  2. Open Alfred and start typing the keyword clone to trigger the workflow.
  3. Confirm the repo you're about to clone by pressing enter or press +enter to choose a different name.
  4. Browse your workspace and pick a destination folder. Start typing for filtering and then hit tab to drill into the selected folder or enter to clone into it.
  5. Wait until a notification pops up letting you know about the outcome of the operation. In case of success a terminal window will open inside the repo you just cloned.

Features

Forgiveness

If you carelessly copy over some items on top of your URL your repo will still be found. More specifically the last ten entries of your clipboard are scraped to look for valid git repos.

History

After some usage you will start seeing your most frequently used directories when browsing your workspace.

Settings

The following variables are meant to be set in the workflow configuration sheet:

  • workspace_dir: the path of the root folder where all your projects live (default:$HOME)
  • max_recent_items: max number of history items to show (default: 2)

Acknowledgements

This workflow uses the awesome 😎 Alfred-Workflow Python library by deanishe.

Sheep icon provided by Stockio.com.