gitignore   608

« earlier - Create Useful .gitignore Files For Your Project
Create useful .gitignore files for your project by selecting from 488 Operating System, IDE, and Programming Language .gitignore templates
generator  git  programming  tools  gitignore  development  dev 
6 weeks ago by XedMada
Don't write "ignore-file" unless the content actually changes by mdshw5 · Pull Request #303 · rstudio/packrat
This clued me in to the fact that yes, the Shiny application *did* need to write to the '.gitignore' because of something to do with Packrat.
shinyserver  shiny  errormessage  packrat  gitignore  solution 
8 weeks ago by kme
Using R with git and packrat - Stack Overflow
packrat::init(".") actually appends to your .gitignore nowadays.
r  dependencymanagement  packagemangement  packrat  git  gitignore  solution 
11 weeks ago by kme
Untrack files already added to git repository based on .gitignore - CodeBlocQ
Step 1: Commit all your changes
Step 2: Remove everything from the repository. To clear your repo, use:

git rm -r --cached .

–cached will only remove files from the index. Your files will still be there.
You can untrack a specific file with git rm --cached foo.txt (thanks @amadeann).

The rm command can be unforgiving. If you wish to try what it does beforehand, add the -n or --dry-run flag to test things out.

Step 3: Re add everything
git add .

Step 4: Commit
git commit -m ".gitignore fix"
git  gitignore  ignore  github 
april 2019 by ferran
Create a .gitignore
Create a .gitignore file by running touch .gitignore. The file name ".gitignore" is case sensitive and the name of the file matters. Git will look for a file with that name and will not stage (add) or commit files that is is told to ignore.

content, for example:

this ignores the entire BACKUPS folder inside [git directory]/hola
gitignore  ignore  git 
march 2019 by ferran
Hey git, please .keep those folders – Kinduff – Medium
tl;dr create a .keep file to check-in folders in git and add the following lines to your .gitignore to ignore the files within: Hola! I gave a ProTip® today to one of my peers regarding keeping…
git  tips-and-tricks  keep  gitkeep  gitignore 
march 2019 by eeichinger

« earlier    

related tags

add  admin  annoyance  api  automatic  azure  bestpractices  boilerplates  build  cli  coding  command  config  control  cordova  create  cruft  cui  dammitbrain  delicious  dependencymanagement  dev  devel  development  directory  empty  environment  errormessage  example  examples  except  exclude  explanation  file  files  filter  folder  generate  generator  generators  git-ignore  git-workflow  git  github  gitkeep  global  go  golang  guide  howto  ide  idea  ignore  include  info  ingore  intellij  ionic  ios  is:repo  itself  java  js  jupyter  jupyterlabs  keep  lang:go  leading  line  local  mac  make  modules  modx  nbdime  node  nodejs  npm  packagemangement  packages  packrat  parser  pattern  platforms  plugins  programmatic  programming  project  python  r  recommendation  ref  reference  repo  repository  revert  rsync  scm  scripting  security  shiny  shinyserver  shk  size  slash  slashes  so  solution  source  stackoverflow  stow  sublime  swift  template  templates  tip  tips-and-tricks  tool  toolchain  tools  torek  trick  tutorial  unity3d  utility  vcs  version  via-mastodon  visualstudio  wiki  windows  within  wordpress  xcode  xcode10  xcuserdata 

Copy this bookmark: