Last active
          April 13, 2017 07:22 
        
      - 
      
- 
        Save artemsky/13d50c4653b15e881afa67bcd6d6c904 to your computer and use it in GitHub Desktop. 
    git log
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | branch=`git rev-parse --abbrev-ref HEAD` | |
| git show-branch -a 2>/dev/null | grep '\*' | grep -v "$branch" | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//' | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment