Skip to content

Command to automatically clone repository by it's name

License

Notifications You must be signed in to change notification settings

SirPole/ant-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ant-clone

Command to automatically clone repository by it's name

ANT studio

 

Installation

  1. Clone this repository
  2. Add path to cloned directory to your PATH.
    • Unix - Edit either /etc/environment or ~/.bash_profile.
    • Windows - Follow this tutorial
  3. Add PROJECTS_PATH environment variable. It should lead to directory, that contains all your projects (eg. /var/www or C:\xampp\htdocs)
    • Unix - Edit ~/.bash_profile file, add export PROJECTS_PATH=<your path>
    • Windows - Press Win+Pause/Break, then select Advanced system settings, Advanced tab and Environment variables button at the bottom. Add new user environment variable PROJECTS_PATH. You can use browse function to make it easier.

Usage

ant-clone <repository>

This will clone stated repository (if found) and then automatically open it in PhpStorm

About

Command to automatically clone repository by it's name

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published