User Tools

Site Tools


version_control:git_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
version_control:git_tips [2024/04/17 22:38] – [Bash tips] mithatversion_control:git_tips [2024/04/17 22:39] – [Creating .gitignore files] mithat
Line 14: Line 14:
 If you really, really want to use Windows Explorer, there are reports you can specify ''.gitignore.'' as the file name (with a trailing period) to fool Windows into accepting it. But who knows for how long. Whichever way you do it, be sure the file you create is called ''.gitignore'' and not, for example, ''.gitignore.txt'' and be sure you add ''.gitignore'' to the repository. If you really, really want to use Windows Explorer, there are reports you can specify ''.gitignore.'' as the file name (with a trailing period) to fool Windows into accepting it. But who knows for how long. Whichever way you do it, be sure the file you create is called ''.gitignore'' and not, for example, ''.gitignore.txt'' and be sure you add ''.gitignore'' to the repository.
  
-Note that ''touch .gitignore'' will work in other OSes that use the bash shell as well (i.e., macOS and most Linux systems).+Note that ''touch .gitignore'' will work in other OSes that use the Bash shell as well (i.e., macOS and most Linux systems).
  
  
version_control/git_tips.txt · Last modified: 2024/04/17 22:54 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki