1
0
mirror of /repos/dotTiddlywiki.git synced 2025-12-30 07:31:33 +01:00
dotTiddlywiki/mywiki/tiddlers/Git Cheats.tid
Aiko Mastboom 2ed77757aa update
2016-09-01 09:45:58 +02:00

19 lines
664 B
Plaintext

created: 20150312123759865
creator: user
modified: 20160815075231019
modifier: user
tags: git
title: Git Cheats
type: text/vnd.tiddlywiki
```
alias gitfetchprune='git fetch --prune && git branch -r | awk '\''{print $1}'\'' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '\''{print $1}'\'' | xargs git branch -d'
```
; How to undo (almost) anything with Git
: https://github.com/blog/2019-how-to-undo-almost-anything-with-git
* http://git-scm.com/blog/2010/03/02/undoing-merges.html
* https://github.com/k88hudson/git-flight-rules
* http://blackbe.lt/common-git-problems-and-solutions/
* http://stackoverflow.com/questions/2389361/undo-a-git-merge