Skip to content

LECZYF/GithubCreateRepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

GithubCreateRepo by LECZYF

Simple fish script for initializing empty github repository from command line.

Deployment:

Just copy the file to your ~/.config/fish/functions/ directory.

Usage:

gcreate <username> <repo name> <isPrivate>

example:

gcreate LECZYF GithubCreateRepo false

What it does (hello cpt. Obvious):

  1. Creates empty dir with repo name, cds to it and initiates git repo.
  2. Creates repo in github
  3. Creates devel branch
  4. Sets upstreams for master and devel
  5. Pushes initial commit with readme header: 'repo name' by 'username'

Based on GitHub API v3.

Cheers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages