Created
November 29, 2012 21:34
-
-
Save berkerpeksag/4172064 to your computer and use it in GitHub Desktop.
Bir Git deposundaki herhangi bir dosyayı ya da klasörü tüm geçmişiyle beraber başka bir depoya taşımak
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
# Taşınacak depo | |
$ git log --pretty=email --patch-with-stat --reverse -- src/etc/vim/ > vim.patch | |
# Yeni depo | |
$ git init | |
$ git am < vim.patch | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment