├── .github └── workflows │ ├── blank.yml │ └── main.yml ├── Assets └── git_github_banner.png ├── CONTRIBUTING.md ├── Contributors ├── Dev-coder-sudo │ └── Dev_Gupta.md ├── Shakuntalasah │ └── Shakuntala_sah.md ├── Suraj-kumar00 │ └── Suraj-kumar00.md ├── abhayrana303 │ └── abhayrana303.md ├── amalraj28 │ └── amalraj28.md ├── bipin-0805 │ └── bipin-0805.md ├── kumariAnjali10 │ └── kumariAnjali10.md └── mohitjoping │ └── mohitjoping.md ├── LICENSE.txt ├── README.md └── Resources ├── Git And Github Notes.pdf └── git-cheat-sheet-education.pdf /.github/workflows/blank.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: CI 4 | 5 | # Controls when the workflow will run 6 | on: 7 | # Triggers the workflow on push or pull request events but only for the "main" branch 8 | push: 9 | branches: [ "main" ] 10 | pull_request: 11 | branches: [ "main" ] 12 | 13 | # Allows you to run this workflow manually from the Actions tab 14 | workflow_dispatch: 15 | 16 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 17 | jobs: 18 | # This workflow contains a single job called "build" 19 | build: 20 | # The type of runner that the job will run on 21 | runs-on: ubuntu-latest 22 | 23 | # Steps represent a sequence of tasks that will be executed as part of the job 24 | steps: 25 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 26 | - uses: actions/checkout@v3 27 | 28 | # Runs a single command using the runners shell 29 | - name: Run a one-line script 30 | run: echo Hello, world! 31 | 32 | # Runs a set of commands using the runners shell 33 | - name: Run a multi-line script 34 | run: | 35 | echo Add other actions to build, 36 | echo test, and deploy your project. 37 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: CI 4 | 5 | # Controls when the workflow will run 6 | on: 7 | # Triggers the workflow on push or pull request events but only for the "main" branch 8 | push: 9 | branches: [ "main" ] 10 | pull_request: 11 | branches: [ "main" ] 12 | 13 | # Allows you to run this workflow manually from the Actions tab 14 | workflow_dispatch: 15 | 16 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 17 | jobs: 18 | # This workflow contains a single job called "build" 19 | build: 20 | # The type of runner that the job will run on 21 | runs-on: ubuntu-latest 22 | 23 | # Steps represent a sequence of tasks that will be executed as part of the job 24 | steps: 25 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 26 | - uses: actions/checkout@v3 27 | 28 | # Runs a single command using the runners shell 29 | - name: Run a one-line script 30 | run: echo Hello, world! 31 | 32 | # Runs a set of commands using the runners shell 33 | - name: Run a multi-line script 34 | run: | 35 | echo Add other actions to build, 36 | echo test, and deploy your project. 37 | -------------------------------------------------------------------------------- /Assets/git_github_banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Suraj-kumar00/Getting-started-with-Git-Github/0870207a777a10f40666b5f653d80ceaf64d3f78/Assets/git_github_banner.png -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing Guidelines 2 | 3 | Thank you for considering contributing to the repository. This guide details all the general information that one should know before contributing to the project. 4 | Please stick as close as possible to the guidelines. That way we ensure that you have a smooth experience contributing to this project. 5 | 6 | ### General Rules : 7 | These are in general rules that you should be following while contributing to an Open Source project : 8 | 9 | - Be Nice, Be Respectful (BNBR) 10 | - Check if the Issue you created, exists or not. 11 | - While creating a new issue make sure you describe the issue clearly. 12 | - Make proper commit messages and document your PR well. 13 | - Always create a Pull Request from a Branch; Never from the Main. -------------------------------------------------------------------------------- /Contributors/Dev-coder-sudo/Dev_Gupta.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Dev Gupta 3 | GitHub_username: Dev-coder-sudo 4 | Linkedin/Twitter: https://twitter.com/DevGupt23090641 5 | --- -------------------------------------------------------------------------------- /Contributors/Shakuntalasah/Shakuntala_sah.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Shakuntala kumari sah 3 | GitHub_username: Shakuntalasah 4 | Linkedin/Twitter: https://www.linkedin.com/feed/update/urn:li:activity:7116060378907721728/ 5 | https://twitter.com/Shakuntala4520/https://github.com/ShakuntalaShah -------------------------------------------------------------------------------- /Contributors/Suraj-kumar00/Suraj-kumar00.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Suraj 3 | GitHub_username: Suraj-kumar00 4 | Linkedin: https://www.linkedin.com/posts/surajkumar00_git-github-opensource-activity-7111671981111963648-Uzc7?utm_source=share&utm_medium=member_desktop 5 | --- 6 | -------------------------------------------------------------------------------- /Contributors/abhayrana303/abhayrana303.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Abhay 3 | GitHub_username: abhayrana303 4 | Linkedin/Twitter: abc 5 | --- -------------------------------------------------------------------------------- /Contributors/amalraj28/amalraj28.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Amal Raj 3 | GitHub_username: amalraj28 4 | Linkedin: https://www.linkedin.com/in/amalraj2803 5 | --- 6 | -------------------------------------------------------------------------------- /Contributors/bipin-0805/bipin-0805.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Bipin 3 | GitHub_username: Bipin-0805 4 | Linkedin: https://www.linkedin.com/posts/bipin-0805/Github-git 5 | --- 6 | -------------------------------------------------------------------------------- /Contributors/kumariAnjali10/kumariAnjali10.md: -------------------------------------------------------------------------------- 1 | Name: Kumari Anjali 2 | GitHub_username: kumariAnjali10 3 | Linkedin/Twitter: https://www.linkedin.com/in/kumarianjali10/ -------------------------------------------------------------------------------- /Contributors/mohitjoping/mohitjoping.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Mohit 3 | GitHub_username: mohitjoping 4 | Linkedin: https://www.linkedin.com/posts/mohitjoping_github-suraj-kumar00getting-started-with-git-github-activity-7108826366896222208-iwHx?utm_source=share&utm_medium=member_desktop 5 | 6 | --- -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Suraj Kumar 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Welcome to Git and Github Beginner Friendly Guide 👋 2 | 3 | --- 4 | 5 | ## [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) 6 | 7 | ![Git and Github](./Assets/git_github_banner.png) 8 | 9 | --- 10 | 11 | # Getting-Started 12 | 13 | > ## ⚠️Prerequisites 14 | > 15 | > > - 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) 16 | > > - Also, make sure to read the [CONTRIBUTING guidelines](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/CONTRIBUTING.md) 17 | 18 | --- 19 | 20 | # How to Be a Participant. 21 | 22 | > Ⅰ. First star ⭐️ the [repo](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github). 23 | 24 | > Ⅱ. [Fork](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/fork) the project. 25 | 26 | > Ⅲ. Clone the project to run on your local machine using the following command: 27 | 28 | ```bash 29 | git clone URL of forked repo 30 | ``` 31 | 32 | > Ⅳ. Get into the root directory if you are not 33 | 34 | ```sh 35 | cd Getting-started-with-Git-Github 36 | ``` 37 | 38 | > Ⅴ . Create your branch. 39 | 40 | ```sh 41 | git checkout -b 42 | 43 | example: git checkout -b suraj/contributor 44 | ``` 45 | 46 | > Ⅵ. Move to Contributors directory. 47 | 48 | ```sh 49 | cd Contributors 50 | ``` 51 | 52 | > Ⅶ. Create a directory. 53 | 54 | ```sh 55 | mkdir your_github_username 56 | ``` 57 | 58 | > Ⅷ. Create a markdown file. 59 | 60 | ```sh 61 | touch your_github_username/your_name.md 62 | ``` 63 | 64 | > Ⅸ. Add your details in the markdown file and save it. 65 | 66 | ```sh 67 | --- 68 | Name: John Doe 69 | GitHub_username: JohnD-00 70 | Linkedin/Twitter: Link_of_Social_post_where_you_share_your_learning 71 | --- 72 | ``` 73 | 74 | > Ⅹ. Stage your changes 75 | 76 | ```bash 77 | git add filename 78 | or 79 | git add . # the '.' means here to add all the files 80 | ``` 81 | 82 | > Ⅺ. Commit your changes 83 | 84 | ```sh 85 | git commit -m "your-commit-message" 86 | ``` 87 | 88 | > Ⅻ.Push your changes to your branch 89 | 90 | ``` 91 | git push origin "your_branch_name" 92 | ``` 93 | 94 | > Ⅼ. Create a [pull request](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/compare) so, that we can merge it. 95 | 96 | > XIII. Share your learning with this repo on social. 97 | 98 | ``` 99 | https://github.com/Suraj-kumar00/Getting-started-with-Git-Github 100 | ``` 101 | 102 | --- 103 | 104 | ## What will you gain? 105 | 106 | - Basic of the Git and Github. 107 | - You start your open-source journey by contributing to this repository. 108 | 109 | --- 110 | 111 | ## Contributors ✨ 112 | 113 | Thank you so much for your time, effort, and dedication! 😄 114 | 115 | 116 | 117 | 118 | 119 | _View the list of all contributors [here](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/graphs/contributors)._ 120 | 121 | --- 122 | 123 | ## Star History 124 | 125 | [![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) 126 | 127 | --- 128 | 129 | ## Resources 130 | 131 | - Git-Cheat-Sheet [pdf](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/Resources/git-cheat-sheet-education.pdf) 132 | - Git and Github (_Handwritten_) [pdf](https://github.com/Suraj-kumar00/Getting-started-with-Git-Github/blob/main/Resources/Git%20And%20Github%20Notes.pdf) 133 | - You can learn more about open source [here](https://surajk00.hashnode.dev/what-is-open-source-beginners-guide-how-to-get-started) 134 | - How Git Works: Explained in 4 Minutes(ByteByteGo) [here](https://www.youtube.com/watch?v=e9lnsKot_SQ&t=51s) 135 | 136 | --- 137 | 138 | ## License 📝 139 | 140 | This repo 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. 141 | 142 | --- 143 | 144 | ## Support 🌱 145 | 146 | _We would love to have you, feel free to open issues and pull requests, and Don't forget to leave a star⭐_ 147 | -------------------------------------------------------------------------------- /Resources/Git And Github Notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Suraj-kumar00/Getting-started-with-Git-Github/0870207a777a10f40666b5f653d80ceaf64d3f78/Resources/Git And Github Notes.pdf -------------------------------------------------------------------------------- /Resources/git-cheat-sheet-education.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Suraj-kumar00/Getting-started-with-Git-Github/0870207a777a10f40666b5f653d80ceaf64d3f78/Resources/git-cheat-sheet-education.pdf --------------------------------------------------------------------------------