It is a good approach to regularly save your working code in your local repository. In fact, programmers make it a habit to commit the code to the local repository whenever they leave their work desk.
The commit
command in git bundles up the working repository of the user and updates it in the local repository. See the command below:
git commit -m "IOS Bug Fixed!"
The -m
flag commits the working repository with a message that is useful for looking back at past commits.
RELATED TAGS
View all Courses