Do all git commands have a –dry-run option, or one which would indicate what the command would do without actually doing them?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not every command would naturally support a dry run directly.
git merge --no-commit --no-ff)git fetch origin‘, then a‘
git log master..origin/master‘, before agit merge origin/master)(but
git pushhas a dry-run option)As J.C. Hamano summarizes:
iboisver comments:
git commit -n: