![]() ![]() To track these changes as a new version, we need to goto the GitHub Desktop application and ‘commit’ our changes. We’ve made changes to the files in our repo. Include any documentation or metadata necessary to understand the files in this repo. Add a few lines to the README describing this repository.Navigate to the repository directory & open the README file using a text editor.We’ll talk more about markdown in episode 4. Markdown is a simple way to style text on the web. Let’s edit our README file by adding some useful information about this repository. Put your README file in your repository’s root directory, GitHub will recognize and automatically surface your README ![]() It is good practice to add a README file to each project to give a brief overview of what the project is about. The power of Git & GitHub are tracking local changes in files over time, then sharing those changes on GitHub. This will publish our repo to and it will be listed under our list of repositories. In order to make our repo public, we need to click ‘Publish repository’. In this directory, we should see several files that we just created (README. If we go the the directory we set as the ‘local path’ above, we should see a directory with our repo name. Now we’ve created our first local Git repository. Many types of open source licenses, please visit. License - Choose to assign a license to your repository.Ĭhoosing a license is an important part of openly sharing your creative work online.Git ignore - Choose default files to ignore.README - Do you want to create a default README file for the repo? A README contains basic info about your repository and how to use the code or data you’ve uploaded.This will create a direcotry with the repository name. Local path - Destination on your machine to store the repository files.Description - Describe the contents of your repository.This will appear as the URL for the repo (it is best to not use spaces in the name). Now we need to fill out some basic information about our repository before we can proceed. Select ‘Create a New Repository on your hard drive’. Now we are ready to create our first repository. If you have any repositories associated with your account, you should see them listed in the left panel. You should now be logged in to your GitHub account. Update your user information if necessary.Sign in using your GitHub username & password.We will connect to our GitHub account using our username and password (if you didn’t create a GitHub account before the lesson, you will need to do so now before you can proceed). GitHub Desktop Set-upīefore we can start tracking version, we must set-up our GitHub Desktop application with our GitHub account information. These commands will be explained as we proceed from setting up a new version-controlled project to publishing our own website. ![]() Number of verbs such as fetch, commit and push - is by using it, which is what we will be doing during this ![]() The best way to get to learn the language - which consists of a Although some of the language used in git isįairly self-explanatory, other terms are not so clear. One of the main barriers to getting started with git is the language. Query the current status of the git repository Track changes to files using the git repository ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |