Skip to content
This repository has been archived by the owner on Apr 12, 2020. It is now read-only.
/ localgit Public archive

A CLI application to commit changes from a local folder to another

Notifications You must be signed in to change notification settings

lucasbarross/localgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localgit

A CLI application to commit changes from a local folder to another

npm i -g localgit

Steps

  1. Link your current folder to the one you want to push changes

    C:\Users\Example\Projects-Development\foo> localgit link "C:\Users\Example\Projects-Production\foo"

    Now I can push changes from C:\Users\Example\Projects-Development\foo to C:\Users\Example\Projects-Production\foo

    Obs. Do not forget the quotation marks outside the directory path.

  2. (Optional) Create a .glignore file in the main folder and write the name of the files you want to ignore from pushing separated by line break. (same as git, but no multiple .gliginore files are allowed)

  3. Push changes! :D

    C:\Users\Example\Projects-Development\foo> localgit push

About

A CLI application to commit changes from a local folder to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published