git - Gitignore update and updating index -
per instructions on github, i've added global gitignore (including config part) visual studio/asp.net development. remote , local repositories in place. how can i:
1) update index such forthcoming updates considers new updates based on global. 2) remove items committed remote repository. keeping them locally, (believe saw guide online remove local files well).
i'm guessing accidentally committed local project files (such user preferences), , don't want pull other users' local files copy.
1) can't select updates pull remote. .gitignore
file meant commit filter, not fetch filter. however, won't need after correctly execute step 2.
2) add files don't want in remote repository .gitignore
, run git rm filename
, commit , push change. may want commit new .gitignore
file, other users same behavior.
Comments
Post a Comment