Giter VIP home page Giter VIP logo

git-work's People

Contributors

fabriciofx avatar mdbs99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

git-work's Issues

Automated tests

Every time we change the git-work code, we have to do manual tests. This step consumes a lot of enfort and time. So, we need implement automated tests do improve it and garantee code quality to this project. @mdbs99 WDYT?

git work update

Let's create a new update command that will work like git pull origin <branch>, using the same approach that we used in done and push, ie, using the current branch.

I don't know whether this command could be the same for #5 or not.

Command to list all open issues

It would be nice if git-work can list the opened issues, something like $ git work issues and the opened issues appear. I'll handle it.

Add install

Let's create an easy way to install git-work. For example, $ git-work.sh install. I'll handle it.

Polish the code

Let's polish the code. For example, change if's for case. I'll handle it.

git work pr update

Let's create a new command option: pr update
This command should update the current pr.
When the contributor updates his PR and it wasn't merged into master yet, we need to update the local pr to continue working.

The commands should be:

git fetch origin pull/<id>/head
git merge pull/<id>/head

The script needs to check if the current branch is a PR by prefix pr. Otherwise, the user gets an error.

git work merge

Let's create a new merge command.
It will be like done command, but won't change the current branch.

We can use it to merge a branch in others and continue the work until it will completely done.

Commit command using "git add ."

The issue #8 has introduced a git add . command in the execution of git work commit command.
I believe this is not always good. Sometimes we need to commit just some files, not all that were changed.

@fabriciofx what will you think if we change commit command, introducing a new parameter like this?

git work commit -a "message"

This is could be related with #18 too.

Concatenate issue ID in comments

Let's make a little change in commit command.
I would like to concatenate issue ID in each comment following this pattern: #id: message

We don't need to remember the issue ID for each comments.

git work config

Let's create a new config command.
This is related with #9. If the user type just git work config without any params, git-work will show all configurations.

Define an user main branch

Let's give a possibility to user could define its own main branch (default is master).
Sometimes we could not push our changes into the main branch because this could be dangerous. So, because that, the user could define its own main branch.

This parameter should be stored in .gitconfig file with an option to user choose globally or not.

This main branch will be used in done, push, and release commands.

git work issue: Test if the branch already exists

The issue command, must have a test if the branch already exists.
Sometimes we just commit the branch (eg. 123 branch) to come back later. If we use the command git work issue 123, we will got an error because the branch already exists.

Abbreviate push and done

Let's abbreviate push and done subcommands doing them get the current branch name. I'll handle it.

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.