Code Monkey home page Code Monkey logo

fedora-helper's Introduction

fedora-helper

Small Tool to Ease tasks on Fedora, learning more bash, git and gh-cli

OneLiner

this will create a new repository , set it as public, give it a name, add a symbolic README.md file on remote, define a "Description" for the repository, and when it's finished will be cloned and and change directory into it and quickly add a generic README.md to push.

$ gh repo create <your-new-repo-name> --add-readme --description "your-very-original-description" --public -c && cd <your-new-repo-name> && echo "This is the README.md file" > README.md && git add . && git push -u

Personally I like to start a project like this, since it saves the time to create a directory, initialize the project, then go ahead and open up your account, create and name the project over GitHub, or in whatever order you do your things but this way is faster.

OneLiner 2

$ mkdir -p < My project Name > && cd <My project name> && git init && echo "This is the README.md file" > README.md && git add . && git commit -m "First project commit" && gh repo create --public <my generic-name> --description "My generic Description" --source=. --remote=upstream --push

crete repository, makee it public, set a name, source your actual directory you are on to start the tracking file ".git", define the upstream and assumming you at leaste have a README.md file added to stack and 1 commit, it would be pushed (Yes this also assumes you are already authorized/logged in and your credentials and id set up, and inside the root directory of the project otherwise the source part would be pointless)

OneLiner 3

$ mkdir -p <my-generic-repo-name> && cd <my-generic-repo-name> && git init && echo "Your generic description/message/details" >> README.md && git add README.md && git commit -m "My generic commit message and details" && gh repo create --public <my-generic-name> --source=. --description "My generic Description" --remote=upstream --push

Same as before but create thee directory project, cd into it , adding the project directory initialization bye creating the README.md file to add for tracking, creating a commit message , and start the repository remote creation and when finished will push the commited file to track.

fedora-helper's People

Contributors

robbpaulsen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.