Git专栏1+:首次安装最新版sourcetree,发现本地代码改动后,没有sourcetree没有变动记录

首次安装最新版sourcetree,发现本地代码改动后,没有sourcetree没有变动记录?

问题:本地明明改了很多代码,但是sourcetree这里却没有任何变动记录,没有任何需要提交的代码

image.png

解决:
需要打开sourcetree的设置- 高级 - 编辑这里
image.png

可以找老同事,要下这里的配置,copy过来,粘贴上去,点击确定,重启sourcetree即可。如果没有老同事,就自己一个人,试试如下:【建议:用老同事的配置】

或者如下:

# macOS
.DS_Store

# Xcode
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
*.xccheckout
profile
*.moved-aside
DerivedData
*.hmap
*.ipa
Example/Pods
Example/Tests

# Bundler
.bundle

# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
# 
# Note: if you ignore the Pods directory, make sure to uncomment
# `pod install` in .travis.yml
#

# 忽略Pods
Pods/
Podfile.lock
Example/Pods/
Example/Podfile.lock
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容