# 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 # you can also commit inline using git commit -m '[Issue-Code] <type-of-change>(<files-affected>): your message using the Commit Message Conventions'
# Now a precompiler and some integration scripts will run and a commit window will open.
Created
December 20, 2018 20:01
-
-
Save nmpegetis/70bfbf7c7e0dda547e133032c4a38cf0 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