![]() ![]() The first thing we need to run in our terminal is run a command to move our current working directory to our project. We'll call this project potato and it will be saved in your home directory in a folder named Development. We're going to assume that you have an existing project which you wish to import into a Git repository. $ git config -global user.name "Your Name Here" $ git config -global user.email Initializing your first repository This information is used whenever you make a commit so that everyone knows who made the changes. The first thing you should do before using Git for the first time is to set your name & e-mail address in the Git configuration. Navigating the Terminal - from TutsPlus.An introduction to the Mac OS X Terminal - from the Treehouse blog.If you're already comfortable moving between directories using cd then you can skip these. If you've never used a terminal before, there are some great tutorials about how to get started with this. You can find this by opening up your Applications folder, then your Utilities folder and finally the Terminal application. Accessing the terminalįirstly, you'll need to open up the Terminal application. In this guide, we're going to use the command line. The command line option is often quicker and means that you can gain a better understanding of how things work and what exactly you are doing. You can either use Git on the command line using a terminal or you can install a graphical interface. ![]() Fortunately, modern Macs all come with Git installed as standard so there's no need to worry about installing it. In this guide, we're going to explore how to use Git on the Mac OS X operating system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |