Git Product home page Git Product logo

ggh's People

Contributors

anatol avatar hobbs avatar tomjakubowski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ggh's Issues

scaring warnings from scp

not 100% sure that this is a real issue though.

I have a Gerrit server and I am trying to use ggh script. When I clone a project I see following warning:

scp: hooks/commit-msg: No such file or directory

This is because SERVER does not have a file ~USERNAME/hooks/commit-msg
What is this file for and why it should be in my home dir?

Other people that do not have ssh (real ssh) access to the server have much more scaring warning:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).

The scp should be either removed to some quiet fallback provided.

Add 'ggh update' command

Does it make sense to have 'ggh update' command? It can be helpful to people who is too laze to update ggh script using wget

'ggh update' should be an equivalent to

cd dirnamewhere ggh``
wget --no-check-certificate https://github.com/hobbs/ggh/raw/master/ggh
chmod +x ./ggh

But I am not totally sure that this is a great idea.

"git prune-branches" should prune current branch as well

In case if we are on a topic branch and this branch has been submited, "git prune-branches" should

  1. checkout its parent branch and then
  2. remove the topic branch

Here is a use-case:
start "foo1" / edit / add / commit / upload
submit
git pull / git prune-branches
--> at this point, "foo1" still exists

git checkout master / git prune-branches
--> "foo1" has been removed but this can be done on the previous step

Following commit fixes the issue: https://github.com/anatol/ggh/commit/6c29cd7f5dcef43f66e1ab438c45d04eaeae5af6

Shorter form for "git start"

Currently if you want to start a new branch you should run

$ git start foo master

it would be a little bit more convenient to have a shorter form in case if you are already on the "remote" branch.

It means if user is already on master and master is unmodified then the previous command could be written as

$ git start foo

In case if a user on a topic branch it should return a error "you are on topic branch". If user wants to start a branch from modified master branch then it should be reported as well.

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.