![]() The easiest way to add changes is to type “git add. ![]() Git add is used to stage all changes in the directory or repo for the next commit. In order to have these changes show on Github you will need to return back to your terminal to add the changes, commit them, and finally push them onto Github. This shows that I am in my github folder. Notice that behind my username it now says github. If I wanted to move into a folder called “github” that is within my “Documents” folder I would code: cd Documents/github cdĬd stands for change directory and is how you will move from different folders within your terminal. Well, what now? Let’s cover some of the most important aspects of git that you will use on a daily basis. So you have set up git onto your Mac book. Follow below steps in your own terminal: git config -global user.name "Your name goes here" git confit -global user.email The Good to Knows Congratulations, you now have Git installed on your Mac book!īefore we continue with explaining Git we need to configure your Git username and email. It should return with git version 2.15.0 (or whichever version you just downloaded). If you believe that you have followed the above steps correctly, next type: git - version
0 Comments
Leave a Reply. |