diff --git a/Getting-started-with-Git-Github b/Getting-started-with-Git-Github deleted file mode 160000 index e54182c..0000000 --- a/Getting-started-with-Git-Github +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e54182cb58ec454e2fdd9d8fa83ca12f1162d9d8 diff --git a/README.md b/README.md index ccfc1fa..77fb20d 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,62 @@ # Welcome to Git and Github Beginner Friendly Guide 👋 + --- -## [Getting to Know Git and GitHub: *Your Code's Best Friends*](https://surajk00.hashnode.dev/getting-to-know-git-and-github-your-codes-best-friends#heading-what-is-git) +## [Getting to Know Git and GitHub: _Your Code's Best Friends_](https://surajk00.hashnode.dev/getting-to-know-git-and-github-your-codes-best-friends#heading-what-is-git) + ![Git and Github](https://cdn.hashnode.com/res/hashnode/image/upload/v1693398758809/3aab0636-bb93-4b41-9389-3c0edfc89754.png?w=1600&h=840&fit=crop&crop=entropy&auto=compress,format&format=webp) --- + # Getting-Started -> ## ⚠️Prerequisites ->> - Before getting into it, make sure you have read this [blog](https://surajk00.hashnode.dev/getting-to-know-git-and-github-your-codes-best-friends#heading-what-is-git) ->> - Also, make sure to read the [CONTRIBUTING guidelines](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/CONTRIBUTING.md) + +> ## ⚠️Prerequisites +> +> > - Before getting into it, make sure you have read this [blog](https://surajk00.hashnode.dev/getting-to-know-git-and-github-your-codes-best-friends#heading-what-is-git) +> > - Also, make sure to read the [CONTRIBUTING guidelines](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/CONTRIBUTING.md) + --- + # How to Be a Participant. -> Ⅰ. First star ⭐️ the [repo](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github). + +> Ⅰ. First star ⭐️ the [repo](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github). > Ⅱ. [Fork](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/fork) the project. > Ⅲ. Clone the project to run on your local machine using the following command: - ```sh - git clone https://github.com//Getting-started-with-Git-Github.git - ``` -> Ⅳ. Get into the root directory +```sh + git clone URL of forked repo +``` + +> Ⅳ. Get into the root directory if you are not + +```sh +cd Getting-started-with-Git-Githube +``` - ```sh - cd Getting-started-with-Git-Github - ``` > Ⅴ . Create your branch. - ```sh - git checkout -b - ``` +```sh +git checkout -b + +example: git chekcout -b suraj/contributor +``` + > Ⅵ. Make a directory. - ```sh - mkdir Contributors/github_username - ``` +```sh +mkdir Contributors/github_username +``` + > Ⅶ. Create a markdown file. - ```sh - touch Contributors/github_username/your_name.md + +```sh +touch Contributors/github_username/your_name.md ``` ->Ⅷ. Add your details in the markdown file and save it. + +> Ⅷ. Add your details in the markdown file and save it. + ```sh --- Name: Alex @@ -47,59 +64,76 @@ GitHub_username: Alex-00 Linkedin/Twitter: Link_of_Social_post_where_you_share_your_learning --- ``` ->Ⅸ. Stage your changes - ```sh - git add - ``` +> Ⅸ. Stage your changes + +```sh +git add filename +or +git add . // the '.' means here to add all the files +``` > Ⅹ. Commit your changes - ```sh - git commit -m "" - ``` +```sh +git commit -m "your-commit-message" +``` > Ⅺ.Push your changes to your branch - ``` - git push origin "" - ``` +``` +git push origin "" +``` + > Ⅻ. Create a [pull request](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/compare) so, that we can merge it. > XIII. Share your learning with this repo on social. + ``` https://github.com/Suraj-kumar00/Getting-started-with-Git-Github ``` + --- + ## What will you gain? - Basic of the Git and Github. - You start your open-source journey by contributing to this repository. + --- + ## Contributors ✨ Thank you so much for your time, effort, and dedication! 😄 - + _View the list of all contributors [here](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/graphs/contributors)._ --- -## Resources +## Star History + +[![Star History Chart](https://api.star-history.com/svg?repos=Suraj-kumar00/Getting-started-with-Git-Github&type=Date)](https://star-history.com/#Suraj-kumar00/Getting-started-with-Git-Github&Date) + +--- + +## Resources - Git-Cheat-Sheet [pdf](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/Resources/git-cheat-sheet-education.pdf) - Git and Github (_Handwritten_) [pdf](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/Resources/Git%20And%20Github%20Notes.pdf) - You can learn more about open source [here](https://surajk00.hashnode.dev/what-is-open-source-beginners-guide-how-to-get-started) --- + ## License 📝 LinksHub is licensed under the terms of the MIT License. check out [LICENSE](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/LICENSE.txt) for details. --- + ## Support 🌱 _We would love to have you, feel free to open issues and pull requests, and Don't forget to leave a star⭐_