Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias last_change='git diff $(git status | sed -ne "/Changed/,/Untrack/ p" | grep modified | cut -d: -f2 | head -1)'
- alias add_last_change='git add $(git status | sed -ne "/Changed/,/Untrack/ p" | grep modified | cut -d: -f2 | head -1)'
- alias edit_last_change='$EDITOR $(git status | sed -ne "/Changed/,/Untrack/ p" | grep modified | cut -d: -f2 | head -1)'
Add Comment
Please, Sign In to add comment