Welcome to the GitHub Learning Repository! 🚀 This repository is designed to be your go-to resource for mastering the basics of Git and GitHub. Whether you're a Git novice or looking for a quick refresher, you've come to the right place GitHub Docs.
git clone https://github.com/your-username/github-learning.git
cd github-learning
git add .
git commit -m "Your descriptive commit message"
git push origin main
git branch feature-branch
git checkout feature-branch
git pull origin main
git merge feature-branch
- Go to GitHub.
- Click on the '+' in the top right corner.
- Select "New Repository."
- Follow the prompts to create your repository.
- Open the repository on GitHub.
- Click on the "Code" button.
- Copy the URL.
- Use git clone in your terminal.
- Create a new branch.
- Make changes and commit them.
- Open a pull request from your branch to the main branch.
Git is like a time machine for your code. Each commit is a snapshot, and branches help you experiment without breaking things.
- git add stages changes.
- git commit saves changes with a message.
- git push uploads changes to GitHub.
- git pull gets changes from GitHub.
Thank you for exploring the GitHub Learning Repository! 🌟 We hope you find it helpful in your journey to becoming a Git and GitHub pro. If you enjoyed your experience, don't forget to give this repo a shiny star! ⭐️
Happy coding! 🚀