在Mac中无法查看.gitignore文件

时间:2018-12-02 10:06:26

标签: git shell gitignore ls

我无法通过ls在Mac中查看.gitignore文件。但是vi可以打开它并进行编辑。无法将文件添加到git中,也无法正常工作。有人遇到过这个问题吗?

1 个答案:

答案 0 :(得分:0)

SELECT [Name] , case when [2011] = 0 then 'No Bonus' when [2011] is null then '0' else cast([2011] as varchar(50)) end as [2011] , case when [2012] = 0 then 'No Bonus' when [2012] is null then '0' else cast([2012] as varchar(50)) end as [2012] FROM (SELECT Name, [Year] , cast(Bonus as int) Bonus FROM Employee)Tab1 PIVOT ( SUM(Bonus) FOR Year IN ([2011],[2012])) AS Tab2 ORDER BY [Tab2].[Name] 开头的文件在Unix系统(例如OSX)中被视为“隐藏”。使用.查看它们。