Giter VIP home page Giter VIP logo

git-er-done's People

Contributors

peakpg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

saturnflyer

git-er-done's Issues

Have one command to create local branches that track all remote branches

Using basic Git, if you have a project that has one or more remote branches, you have to manually create a local tracking branch for each remote. Example:

$ git branch -a
* master
  remotes/origin/3.0-stable
  remotes/origin/3.1-stable
  remotes/origin/3.3.x
  remotes/origin/HEAD -> origin/master
  remotes/origin/master

This has 4 remote branches (master, 3.0-stable, 3.1-stable, 3.3.x). As per [this article](http://gitready.com/beginner/2009/03/09/remote-tracking-branches.html_To create a local branch, you need to do the following 4 times:

git branch --track 3.1-stable origin/3.1-stable

It would be nice if the tool could just do this automatically, like:

gd track-remotes

Could even ask questions of the user (to skip or rename local branches).

Remove Rails dependency

Depending on the entire rails stack for just one very simple command (git) is way overkill, especially since having multiple versions of rails installed can cause problems.

Remove the dependency.

Aborting completing a feature with uncommitted changes.

  1. While working in a feature branch, assume there are uncommitted changes along with several commits that would need to be squashed.
  2. Run gd done
  3. Don't save the commit (ie in Textmate, cancel the save)

Expected: An interactive rebase so I can squash the commit.
Actual: The rebase is aborted since there are uncommited changes. The commits are then merged into master.

Solution:
Abort the process if there are uncommitted changes. Remove the automatic commit in favor of just a check and then warning. (This might be preferable since the 'commit all' is probably overly greedy anyway.

`gd done` with only a single commit

Even if you only have a single commit in your feature branch, you still get the interactive rebase, even though its unnecessary.

Solution: Avoid interactive rebasing if only a single commit (or skip interactive rebasing all together and do a non-interactive squash)

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.