Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. #this is a comment
  2. debug.log
  3. nbproject/
  4.  
  5. # On branch master
  6. # Your branch is ahead of 'origin/master' by 1 commit.
  7. #
  8. # Untracked files:
  9. # (use "git add <file>..." to include in what will be committed)
  10. #
  11. # debug.log
  12. # nbproject/
  13. nothing added to commit but untracked files present (use "git add" to track)
  14.  
  15. git rm -r --cached .
  16. git add .
  17. git commit -m "fixed untracked files"
  18.  
  19. git rm . -r --cached
  20. git add .
  21. git commit -m "fixed untracked files"
  22.  
  23. git rm -r --cached .
  24. git add .
  25. git commit -m "fixed untracked files"
  26.  
  27. git add -f "filetype"
  28. git commit -m “Refresh removing filetype from .gitignore file.”
  29.  
  30. git rm -r --cached debug.log nbproject
  31.  
  32. #Be aware of following:
  33. notWorkingIgnore.*
  34. workingIgnore.*
  35.  
  36. #Be aware of following:
  37. notWorkingIgnore.* #<-Space
  38. workingIgnore.*#<-Nospace
  39.  
  40. ./myproject/.gitignore
  41.  
  42. ./myproject/.git/.gitignore
  43.  
  44. echo .idea/ >> .gitignore
  45. git init
  46.  
  47. git rm -r --cached .
  48. git reset HEAD --hard
  49. git status
  50.  
  51. <Your-project-folder>.gitinfo
  52.  
  53. lib/ext/
  54.  
  55. ls -la lib/ext/
  56. lrwxr-xr-x 1 roipoussiere users 47 Feb 6 14:16 lib/ext -> /home/roipoussiere/real/path/to/the/lib
  57.  
  58. git rm -r -f "folder or files insides"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement