Last active
December 18, 2015 14:18
-
-
Save ideadapt/5795704 to your computer and use it in GitHub Desktop.
capistrano deploy:update_code git error
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
# sometims capistranos fails executing update_code goal: | |
* 2013-06-17 08:08:34 executing `deploy:update_code' | |
executing locally: "git ls-remote . HEAD" | |
command finished in 9ms | |
* refreshing local cache to revision f4db at /var/folders/nc/pl0c_dnd43bb6xl5ljdfh5zh0012gn/T/proj | |
executing locally: cd /var/folders/nc/pl0c_dnd43bb6xl5ljdfh5zh0012gn/T/proj && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard f4db8ab10f23ddd2864ebfeee7486bdf3bd8e423 && git clean -q -d -x -f | |
fatal: Not a git repository (or any of the parent directories): .git | |
# to reset your local cache folder execute following commands: | |
rm -rf /var/folders/* | |
reopen bash | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks