Git Stage and Commit with Single Command on Mac - VicPhanDevOps/mac GitHub Wiki
• Type git status
and press the return key to see the file(s) waiting to be staged.
•
• Type git commit -am “< commit message >”
and press the return key to stage and commit the change(s) with a commit message.
•
• Type git push --set-upstream origin < branch >
and press the return key if it’s your first time pushing the branch. If not, then type git push
and press the return key.
•