简体   繁体   中英

Git files not the same within finder (Mac Yosemite)

I pull the master branch from github repo - the files and folders show as per.

However, when I change branch from "master" to "development" the folders are not updated which I don't understand why.

Within Sublime Text 3 they have updated but not within Finder on my Mac.

I'm switching branch via terminal using " git checkout development " and the folder structure is the same as the master branch.

Any ideas as to why this might be?

Mac version: Yosemite - 10.10.5

Here is the solution - I had to enable show hidden files. Bizarre but it works instantly.

In terminal paste the following: defaults write com.apple.finder AppleShowAllFiles YES

Press return

Hold the 'Option/alt' key, then right click on the Finder icon in the dock and click Relaunch.

Happy days!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM