npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

easygit-cli

v4.1.3

Published

The EasyGit CLI is a simple command line interface for Git that automates the processes in git

Downloads

10

Readme

EasyGit CLI

npm install -g easygit-cli

The EasyGit CLI is a simple command line interface for Git that automates the process of initializing a new Git repository, adding files to the staging area, committing changes, and pushing them to a remote repository. It is built using Node.js and the simple-git library.

Installation

To install the EasyGit CLI, you will need to have Node.js installed on your computer. Once you have Node.js installed, you can install it by running the following command:

npm install -g easygit-cli

or update with

npm update -g easygit-cli

This will install the EasyGit CLI globally on your computer, allowing you to use it from any directory.

Enabling Scripts on Windows

If you are using Windows, you need to enable the execution of scripts in PowerShell

HOW?

  • Open PowerShell as Administrator.
  • Run the following command to allow script execution:
Set-ExecutionPolicy RemoteSigned

Usage

First Push Command

The first-push command initializes a new Git repository, stages all files, commits them with the message "Initial Commit", switches the branch to main, sets the remote origin (or uses the existing one), and pushes the changes to the remote repository.

Syntax

easygit first-push [repo]
  • repo: Optional. The URL of the remote repository to push changes to. If not provided, the user will be prompted to enter the repository URL.

Example

easygit first-push https://github.com/username/repository.git

Push Command

The push command stages changes, commits them with a provided commit message, and pushes the changes to the remote repository. You need to supply a commit message.

Syntax

easygit push [commitMessage]
  • commitMessage: Optional. If not provided, you will be prompted to enter a commit message.

Example

easygit push "refactored index file"
easygit push

Alias Command

The alias feature in easygit-cli allows you to create custom aliases for existing commands. This feature is useful when you want to create shortcuts for frequently used commands or when you want to customize the command names to fit your workflow.

Syntax

easygit add-alias [alias] [command]
  • alias & command: Optional. If not provided, you will be prompted to enter both.

Example

easygit add-alias fp first-push

Config Command

The config command returns the global Git username and email if they are set. If they are not available, it prompts the user to enter them and sets the global configuration accordingly.

Syntax

easygit config

Revert Command

The revert command reverts the local Git repository to the previous commit, and force pushes the changes to the remote repository on GitHub.This command finds the commit hash of the previous commit, resets the local repository to that commit, and force pushes the changes to the remote repository on GitHub. Be careful when using this command, as it will overwrite the remote repository with your local repository. This can cause issues if other people are also working on the repository.

Syntax

easygit revert

Contributing

Contributions are welcome! Please follow these steps to contribute:

  • Fork the repository.
  • Create a new branch with a descriptive name.
  • Make your changes and commit them with a clear message.
  • Push your changes to your fork.
  • Submit a pull request.

or

  • Create an issue

License

The Git CLI is licensed under the MIT License. See the MIT License file for more information.

Contact

If you have any questions or feedback, please feel free to contact me at [email protected] or send a dm on linkedIn: https://www.linkedin.com/in/obinna-okeke-0a7445173/.