- Notifications
You must be signed in to change notification settings - Fork0
shreyas06-dev/skills-introduction-to-github
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Get started using GitHub in less than an hour.
You created a branch! 🎉
Creating a branch allows you to edit your project without changing themain
branch. Now that you have a branch, it’s time to create a file and make your first commit!
What is a commit?: Acommit is a set of changes to the files and folders in your project. A commit exists in a branch. For more information, see "About commits".
The following steps will guide you through the process of committing a change on GitHub. A commit records changes in renaming, changing content within, creating a new file, and any other changes made to your project. For this exercise, committing a change requires first adding a new file to your new branch.
Note
.md
is a file extension that creates a Markdown file. You can learn more about Markdown by visiting "Basic writing and formatting syntax" in our docs or by taking the "Communicating using Markdown" Skills course.
On the< > Code tab in the header menu of your repository, make sure you're on your new branch
my-first-branch
.Select theAdd file drop-down and clickCreate new file.
In theName your file... field, enter
PROFILE.md
.In theEnter file contents here area, copy the following content to your file:
Welcome to my GitHub profile!
ClickCommit changes... in the upper right corner above the contents box. For commits, you can enter a short commit message that describes what changes you made. This message helps others know what's included in your commit. GitHub offers a simple default message, but let's change it slightly for practice. First, enter
Add PROFILE.md
in the first text-entry field titled "Commit message".In this lesson, we'll ignore the other fields and clickCommit changes.
Wait about 20 seconds then refresh this page (the one you're following instructions from).GitHub Actions will automatically update to the next step.
Get help:Post in our discussion board •Review the GitHub status page
© 2024 GitHub •Code of Conduct •MIT License
About
My clone repository
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.