git - Checkout many files -
when wrote git status
in shell, got
deleted them: changelog both modified: loanwolf/alerts/locale/fr/lc_messages/django.mo both modified: loanwolf/alerts/locale/fr/lc_messages/django.po both modified: loanwolf/clientspace/locale/fr/lc_messages/django.mo both modified: loanwolf/clientspace/locale/fr/lc_messages/django.po both modified: loanwolf/configurations/locale/fr/lc_messages/django.mo both modified: loanwolf/configurations/locale/fr/lc_messages/django.po both modified: loanwolf/contracts/locale/fr/lc_messages/django.mo both modified: loanwolf/contracts/locale/fr/lc_messages/django.po both modified: loanwolf/contrib/locale/fr/lc_messages/django.mo both modified: loanwolf/contrib/locale/fr/lc_messages/django.po both modified: loanwolf/core/locale/fr/lc_messages/django.mo both modified: loanwolf/core/locale/fr/lc_messages/django.po both modified: loanwolf/core/templatetags/locale/fr/lc_messages/django.mo both modified: loanwolf/core/templatetags/locale/fr/lc_messages/django.po both modified: loanwolf/customers/locale/fr/lc_messages/django.mo both modified: loanwolf/customers/locale/fr/lc_messages/django.po both modified: loanwolf/dashboard/locale/fr/lc_messages/django.mo both modified: loanwolf/dashboard/locale/fr/lc_messages/django.po both modified: loanwolf/documents/locale/fr/lc_messages/django.mo both modified: loanwolf/documents/locale/fr/lc_messages/django.po both modified: loanwolf/employees/locale/fr/lc_messages/django.mo both modified: loanwolf/employees/locale/fr/lc_messages/django.po deleted them: loanwolf/equifax_report/locale/fr/lc_messages/django.mo deleted them: loanwolf/equifax_report/locale/fr/lc_messages/django.po deleted them: loanwolf/loans/locale/fr/lc_messages/django.mo deleted them: loanwolf/loans/locale/fr/lc_messages/django.po deleted them: loanwolf/messaging/locale/fr/lc_messages/django.mo deleted them: loanwolf/messaging/locale/fr/lc_messages/django.po deleted them: loanwolf/notes/locale/fr/lc_messages/django.mo deleted them: loanwolf/notes/locale/fr/lc_messages/django.po deleted them: loanwolf/operations/cron.py deleted them: loanwolf/operations/locale/fr/lc_messages/django.mo deleted them: loanwolf/operations/locale/fr/lc_messages/django.po deleted them: loanwolf/perception/locale/fr/lc_messages/django.mo deleted them: loanwolf/perception/locale/fr/lc_messages/django.po deleted them: loanwolf/products/locale/fr/lc_messages/django.mo deleted them: loanwolf/products/locale/fr/lc_messages/django.po deleted them: loanwolf/requests/formlayouts.py deleted them: loanwolf/requests/forms.py deleted them: loanwolf/requests/locale/fr/lc_messages/django.mo deleted them: loanwolf/requests/locale/fr/lc_messages/django.po deleted them: loanwolf/requests/utils.py deleted them: loanwolf/requests/views.py deleted them: loanwolf/statistics/locale/fr/lc_messages/django.mo deleted them: loanwolf/statistics/locale/fr/lc_messages/django.po deleted them: loanwolf/users/locale/fr/lc_messages/django.mo deleted them: loanwolf/users/locale/fr/lc_messages/django.po
instead of git checkout name_of_the_file
, apply @ bunch of file. assume want *.po
file, how simple command? being able apply @ many file in same file. use xargs
? if so, how it?
how checkout multiple file without taking each of them 1 one? don't want git checkout first_file , git checkout second_file ... instance, want checkout .po file , .mo file in simple command line. wan learn how such thing.
in clear, show me multiple ways checkout multiple files particular words, particular type of files, ...
use git checkout .
checkout all.
edit: use git checkout -- *.po
address issue.
Comments
Post a Comment