Skip to content

vitalk/push_to

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

push to

Script that push existing git repos to predefined location. For example, it allow to create a new github repository remotely or create a bare copy of repos on your Dropbox folder.

Walkthrough

The basic idea that script looking for executables on 'to' directory and then execute it if it filename passed as script param. For example, push_to dropbox executes the 'to/dropbox' script that actually do all work.

Use 'to/sample' as example of extension file.

Usage

Source 'push_to_compl' somewhere on your '.bashrc'. It create an alias and shell completion for the script:

# to list avaliable commands
pust_to [Tab]
# to list avaliable options
push_to -[Tab]

To create a new github repository run:

cd my/git/repos
push_to github

About

My name is Vital Kudzelka vital.kudzelka@gmail.com. Fell free to get in touch.

About

Script that push existing git repos to predefined location.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages