

List status is usually used when you are finished working in your notebook. If I were to type “cd r” then tab, it will show me all the files within the current directory that begin with r. Another option to help you remember the files name is to hit tab. You will list all the files in your current working directory. Let’s say you are in a folder within your terminal and cannot remember the name of a specific file. You now have all of the work you have done locally saved to Github. Git push is the process of pushing the remote work to Github and updating the online repository. The commit message should be a brief description of the changes you made. Git commit is used to commit all of the changes you made and the -m is to add a commit message. We will talk about those in another blog. This will not always be the case, at times there may be files that you want to keep locally and do not want to push to Github. ” Adding the period after git add simply means to add ALL the changes you just made in your directory. 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
