├── Contributor.md └── README.md /Contributor.md: -------------------------------------------------------------------------------- 1 | # Add your names here and start your open source journey. 2 | 3 | Format 4 | 5 | ## [Name](GitHub profile link) 6 | 7 | ## [Sudipto Ghosh](https://github.com/pydevsg/) 8 | 9 | ## [Chiraag Kakar](https://github.com/chiraag-kakar/) 10 | 11 | ## [Sruti Chatterjee](https://github.com/sruti2024) 12 | 13 | ## [Md Mahmood Ahmed](https://github.com/mahmood199/) 14 | 15 | ## [Aditya Das](https://github.com/AdityaDas2101/) 16 | 17 | ## [Arpan Bhowmick](https://github.com/arpanb8907/) 18 | 19 | ## [Sayan Ojha](https://github.com/sayan2203/) 20 | 21 | ## [Murtaza Mustafa Khumusi](https://github.com/murtaza1112/) 22 | 23 | ## [Parjanya Aditya Shukla](https://github.com/parjanyaacoder) 24 | 25 | ## [Manish Pandey](https://github.com/InvincibleNobita) 26 | 27 | ## [Mahmoud Mabrok](https://github.com/MahmoudMabrok) 28 | 29 | ## [Zachary Moseti](https://github.com/ZachyDev) 30 | 31 | ## [Aryan Patel](https://github.com/patelaryan7751/) 32 | 33 | 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Beginner-Repo 2 | This repository is made for the beginners to get started with git contribution 3 | 4 | ## Setup Git 5 | - git config --global user.name "John_Doe" 6 | - git config --global user.email "john@example.com" 7 | 8 | ## Git commands you are going to use 9 | 10 | 1. git clone url (by cloning all the files in that repo will be available to your local machine + before cloning make sure to fork the repo to your acount) 11 | 2. git add filename.txt (after changing a particular file ) 12 | 3. git add . (too add everything) 13 | 4. git commit -m "message" (it is recommended to commit with a message to tell what are the things you have changed) 14 | 5. git push (push it to the main branch now it will be available in github) 15 | > git push origin branch_name (it will push your code from local branch to the master branch) 16 | e.g __git push origin devsg__ ( it will push branch devsg( local branch) to original repo's master branch , henceforth creating a PR) 17 | 6. git config --global https.proxy 172.16.102.28:8080 18 | 7. git config --global http.proxy 172.16.102.28:8080 19 | 8. git config --global --get-regexp http.* 20 | 9. git config --global --unset https.proxy 21 | 10. git config --global --unset http.proxy 22 | 23 | 24 | ## First Contribtution 25 | 26 | - In order to contribute to this repository first fork the repo.(you can see this in the right most side of the page).This will make a local vesrion of the repository in your GitHub account. 27 | 28 | - ``` git clone https://github.com/user_name/Beginner-Repo ``` where **user_name** is your GitHub handle name e.g - https://github.com/pydevsg/Beginner-Repo 29 | - ``` cd Beginner-Repo ``` 30 | - Change from master branch to your local_branch 31 | ``` git checkout -b local_branch ``` where **local_branch** is your local branch name and is user defined from your Git Bash. 32 | - Add your name in the Contributor.md file as given in the [Contributors format](https://github.com/pydevsg/Beginner-Repo/edit/master/Contributor.md/#4) 33 | - ``` git add Contributor.md ``` 34 | - ``` git commit -m "comment" ``` where **comment** is user defined and it can be anything meaningful from your side. e.g - git commit -m " Added my name" 35 | - ``` git push origin local_branch ``` where **local_branch** is your local branch name and is user defined from your Git Bash. 36 | 37 | - This will help you in making your first PR. 38 | ### All the best for [JGEC Winter of Code(JWoC)](https://jwoc.tech/). Keep contribtuing.:tada: 39 | --------------------------------------------------------------------------------