Commits

Nicola Paolucci  committed dce8115

[git] added lap alias to apply sha1 from different folder

  • Participants
  • Parent commits 36497fd

Comments (0)

Files changed (1)

 
     #list remotes
     rem="!git config -l | grep remote.*url | tail -n +2"
+
+    #apply patch from other local repo
+    lap = "!f() { git --git-dir=$1.git format-patch -k -1 --stdout $2 | git am -3 -k; }; f"
 # }}}