Git Product home page Git Product logo

lib's Introduction

Initialize the project for git:
git init
Add the files to git:
Note that you need to include the period at the end of this command:
git add .
Commit the files
git commit -m "init commit"
Create the repo
Go to your git cloud provider (like github) and create a new repo
Follow the instructions of your provider for creating the new repo
Example

Here is an example of how I created a repo for my package using github:

Browse to: https://github.com/new
Repository name: lib
Leave Public checked
Click: Create repository
Next github prints out some instructions.

I followed the …or push an existing repository from the command line instructions.

Those instruction will be adjusted for your username:
git remote add origin https://github.com/banyar/lib.git
git branch -M main
git push -u origin main


Tag the repo
To publish different versions of your package you need to tag it like this:

git tag -d v0.1.0
git tag v0.1.0 HEAD -m "Version v0.1.0 released"
git push origin --tags

lib's People

Contributors

dev-bnst avatar banyar-sithu avatar banyar 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.