git - See changes made in a project -
i have made changes project. have modified copy original copy. see changes have been made in modified project. how achieve that? thank you.
git diff
shows changes except deleted (and new) files.
to check changes compared last commit (no matter client) is:
# add changed including deleted files git add -a . # show staged changes git diff --staged
now reset changes no need commit , or if well, commit!
if want compare against branch or refspec after committing: git diff another_branch_or_refspec head
Comments
Post a Comment