# Check the files in your workspace that have been changed and verify you are in the correct branch
git status
# Select the files you want to put in stage and commit thereafter
git add <files-in-workspace-to-be-staged-space-separated> # if you want all files to be put in stage, then $ git add .
# Optionally, verify that all the files you wanted in stage area are set
git status
# Commit files to your local branch of your local repository
git commit # this opens your default editor to enter the commit message. Elsewise, you can also commit inline using git commit -m '[Issue-Code] <type-of-change>(<files-affected>): your message using the Commit Message Conventions' as shown below
Created
December 20, 2018 19:43
-
-
Save nmpegetis/98bf8fa00f2ef44dffc5040b3d6626a9 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment