Created
January 16, 2013 20:18
-
-
Save re5et/4550500 to your computer and use it in GitHub Desktop.
Make magit not alter the branch name you are checking out when creating a local tracking branch.
This file contains 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
;; M-x customize-variable RET magit-default-tracking-name-function RET | |
;; Set "other" to magit-tracking-name-unfucked-with | |
(defun magit-tracking-name-unfucked-with (remote branch) | |
branch) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment