├── me.txt
├── images
├── PR.png
├── clone.png
├── fetch.png
├── fork.png
├── Error2.png
├── Error3.png
├── Error4.png
├── Error5.png
├── error1.png
├── folder.png
├── vscode.png
├── PRcreated.png
├── apple icon.png
├── clonning.png
├── createPR.png
├── gitclone.png
├── pullorigin.png
├── welcome bg.png
├── rules n info.png
└── server tour.png
├── script.py
├── .github
├── workflows
│ ├── Auto_Issue_Closer.yml
│ ├── issue-labeler.yml
│ ├── Issue_labeler.yml
│ ├── pr-labeler.yml
│ ├── greetings.yml
│ ├── Auto_message_on_creatingissues.yml
│ ├── Auto_message_on_pr_open.yml
│ └── Auto_message_on_pr_merge.yml
├── ISSUE_TEMPLATE
│ └── Bug_Feature_Docs.md
└── PULL_REQUEST_TEMPLATE.md
├── Git_Github_OS_Videos.txt
├── name.txt
├── LICENSE
├── heart.py
├── GitInstallation_Guide.md
├── .gitignore
├── index.html
├── script.js
├── style_links.json
├── style.css
└── README.md
/me.txt:
--------------------------------------------------------------------------------
1 | On this day, i learnt how to work with open source
--------------------------------------------------------------------------------
/images/PR.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/PR.png
--------------------------------------------------------------------------------
/images/clone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/clone.png
--------------------------------------------------------------------------------
/images/fetch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/fetch.png
--------------------------------------------------------------------------------
/images/fork.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/fork.png
--------------------------------------------------------------------------------
/images/Error2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/Error2.png
--------------------------------------------------------------------------------
/images/Error3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/Error3.png
--------------------------------------------------------------------------------
/images/Error4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/Error4.png
--------------------------------------------------------------------------------
/images/Error5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/Error5.png
--------------------------------------------------------------------------------
/images/error1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/error1.png
--------------------------------------------------------------------------------
/images/folder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/folder.png
--------------------------------------------------------------------------------
/images/vscode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/vscode.png
--------------------------------------------------------------------------------
/images/PRcreated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/PRcreated.png
--------------------------------------------------------------------------------
/images/apple icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/apple icon.png
--------------------------------------------------------------------------------
/images/clonning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/clonning.png
--------------------------------------------------------------------------------
/images/createPR.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/createPR.png
--------------------------------------------------------------------------------
/images/gitclone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/gitclone.png
--------------------------------------------------------------------------------
/images/pullorigin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/pullorigin.png
--------------------------------------------------------------------------------
/images/welcome bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/welcome bg.png
--------------------------------------------------------------------------------
/images/rules n info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/rules n info.png
--------------------------------------------------------------------------------
/images/server tour.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arpit456jain/Getting-Started-with-open-source/HEAD/images/server tour.png
--------------------------------------------------------------------------------
/script.py:
--------------------------------------------------------------------------------
1 | file = open('name.txt','w')
2 | for i in range(65,91):
3 | fullstr = " - ### **{}** ".format(chr(i)) + "\n"
4 | file.write(fullstr)
5 | file.close()
--------------------------------------------------------------------------------
/.github/workflows/Auto_Issue_Closer.yml:
--------------------------------------------------------------------------------
1 | name: Auto Close Issues
2 |
3 | on:
4 | pull_request:
5 | types: [closed]
6 | jobs:
7 | close:
8 | runs-on: ubuntu-latest
9 | steps:
10 | - uses: bubkoo/auto-close-fixed-issues@v1
11 | with:
12 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 |
--------------------------------------------------------------------------------
/.github/workflows/issue-labeler.yml:
--------------------------------------------------------------------------------
1 | name: issue-labeler
2 |
3 | on:
4 | issues:
5 | types: [opened]
6 |
7 | jobs:
8 | automate-issues-labels:
9 | runs-on: ubuntu-latest
10 | steps:
11 | - name: initial labeling
12 | uses: andymckay/labeler@master
13 | with:
14 | add-labels: 'hacktoberfest'
15 |
--------------------------------------------------------------------------------
/.github/workflows/Issue_labeler.yml:
--------------------------------------------------------------------------------
1 | name: Issues Labeler
2 | on:
3 | issues:
4 | types: [opened, edited]
5 | jobs:
6 | labeler:
7 | runs-on: ubuntu-latest
8 | steps:
9 | - uses: github/issue-labeler@v2.0
10 | with:
11 | repo-token: "${{ secrets.GITHUB_TOKEN }}"
12 | configuration-path: .github/issues_labeler.yml
13 | enable-versioned-regex: 0
--------------------------------------------------------------------------------
/Git_Github_OS_Videos.txt:
--------------------------------------------------------------------------------
1 | Git and GitHub Video Resources:
2 |
3 | - https://youtu.be/uj4fy4kpaOA
4 | - https://youtu.be/gwWKnnCMQ5c
5 | - https://youtu.be/RGOj5yH7evk
6 | - https://youtu.be/eL_0Ok_Gkas
7 |
8 | Open Source Video Resources:
9 |
10 | - https://youtu.be/SXW_bA4SGqA
11 | - https://youtu.be/yzeVMecydCE
12 | - https://youtu.be/msyGybzCKRs
13 |
14 | A Tutorial Video showing Contributing to Open Source for the first time:
15 |
16 | - https://youtu.be/c6b6B9oN4Vg
17 |
--------------------------------------------------------------------------------
/.github/workflows/pr-labeler.yml:
--------------------------------------------------------------------------------
1 | name: Add label to Merged PR
2 |
3 | # The events for whcih this workflow wii be triggered
4 | on:
5 | pull_request_target:
6 | types: [closed]
7 |
8 | # The machine will run each job when workflow will be triggered
9 | jobs:
10 | automate-issues-labels:
11 | runs-on: ubuntu-latest
12 | # These tasks will be run in each job
13 | steps:
14 | - name: initial labeling
15 | uses: andymckay/labeler@master
16 | with:
17 | add-labels: 'GDSC'
18 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/Bug_Feature_Docs.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Improve Us
3 | about: "Improve us by suggesting changes "
4 | title: ""
5 | labels: ""
6 | assignees: ""
7 | ---
8 |
9 | ## Issue Type:
10 |
11 | - [ ] Bug Report
12 | - [ ] Feature Request
13 | - [ ] Documentaion
14 |
15 | ## **Describe the bug**
16 |
17 | - A clear and concise description of what the bug is.
18 |
19 | ## **Possible solution**
20 |
21 | - Describe the solution you thought of.
22 |
23 | ## **Screenshots**
24 |
25 | - If applicable, add screenshots to help explain your problem.
26 |
--------------------------------------------------------------------------------
/.github/workflows/greetings.yml:
--------------------------------------------------------------------------------
1 | name: Greetings
2 |
3 | on: [pull_request, issues]
4 |
5 | jobs:
6 | greeting:
7 | runs-on: ubuntu-latest
8 | steps:
9 | - uses: actions/first-interaction@v1
10 | with:
11 | repo-token: ${{ secrets.GITHUB_TOKEN }}
12 | issue-message: 'Hi 😄, thanks for creating your first issue at Getting-Started-with-open-source project!🚀⚡. '
13 | pr-message: 'Thank you for your pull request and welcome to our community! We will soon be getting back to you. Your patience will be greatly appreciated!Thanks! 🥳'
14 |
15 |
--------------------------------------------------------------------------------
/name.txt:
--------------------------------------------------------------------------------
1 | - ### **A**
2 | - ### **B**
3 | - ### **C**
4 | - ### **D**
5 | - ### **E**
6 | - ### **F**
7 | - ### **G**
8 | - ### **H**
9 | - ### **I**
10 | - ### **J**
11 | - ### **K**
12 | - ### **L**
13 | - ### **M**
14 | - ### **N**
15 | - ### **O**
16 | - ### **P**
17 | - ### **Q**
18 | - ### **R**
19 | - ### **S**
20 | - ### **T**
21 | - ### **U**
22 | - ### **V**
23 | - ### **W**
24 | - ### **X**
25 | - ### **Y**
26 | - ### **Z**
27 |
--------------------------------------------------------------------------------
/.github/workflows/Auto_message_on_creatingissues.yml:
--------------------------------------------------------------------------------
1 | name: Auto message on Creating Issue.
2 |
3 | on:
4 | issues:
5 | types: [opened]
6 |
7 | jobs:
8 | greeting:
9 | runs-on: ubuntu-latest
10 | steps:
11 | - name: Create comment for issue
12 | if: github.event_name =='issues'
13 | uses: peter-evans/create-or-update-comment@v1
14 | with:
15 | issue-number: ${{tojson(github.event.issue.number)}}
16 | body: Hello there!👋, @${{ github.actor }} Welcome ! 🚀⚡Thank you and congrats🎉 for opening issue in this project.😄
17 |
18 |
19 |
--------------------------------------------------------------------------------
/.github/workflows/Auto_message_on_pr_open.yml:
--------------------------------------------------------------------------------
1 | name: Auto message on pr opened
2 |
3 | on:
4 | pull_request_target:
5 | types: [opened]
6 |
7 | jobs:
8 | auto-response:
9 | runs-on: ubuntu-latest
10 |
11 | steps:
12 | - uses: derekprior/add-autoresponse@master
13 | env:
14 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 | with:
16 | respondableId: ${{ github.event.pull_request.node_id }}
17 | response: "Our team will soon review your PR. Thanks @${{ github.event.pull_request.user.login }} :)"
18 | author: ${{ github.event.pull_request.user.login }}
19 | exemptedAuthors: "arpit456jain"
20 |
--------------------------------------------------------------------------------
/.github/workflows/Auto_message_on_pr_merge.yml:
--------------------------------------------------------------------------------
1 | name: Auto message on pr merge
2 |
3 | on:
4 | pull_request_target:
5 | types: [closed]
6 |
7 | jobs:
8 | auto-response:
9 | runs-on: ubuntu-latest
10 |
11 | steps:
12 | - uses: derekprior/add-autoresponse@master
13 | env:
14 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 | with:
16 | respondableId: ${{ github.event.pull_request.node_id }}
17 | response: "Thank you @${{ github.event.pull_request.user.login }} for taking out your valuable time in order to contribute to our project. Looking forward for more such amazing contributions :)"
18 | author: ${{ github.event.pull_request.user.login }}
19 | exemptedAuthors: "arpit456jain"
20 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Arpit Jain
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 |
--------------------------------------------------------------------------------
/heart.py:
--------------------------------------------------------------------------------
1 | # Import turtle package
2 | import turtle
3 |
4 | # Creating a turtle object(pen)
5 | pen = turtle.Turtle()
6 |
7 | # Defining a method to draw curve
8 | def curve():
9 | for i in range(200):
10 |
11 | # Defining step by step curve motion
12 | pen.right(1)
13 | pen.forward(1)
14 |
15 | # Defining method to draw a full heart
16 | def heart():
17 |
18 | # Set the fill color to red
19 | pen.fillcolor('red')
20 |
21 | # Start filling the color
22 | pen.begin_fill()
23 |
24 | # Draw the left line
25 | pen.left(140)
26 | pen.forward(113)
27 |
28 | # Draw the left curve
29 | curve()
30 | pen.left(120)
31 |
32 | # Draw the right curve
33 | curve()
34 |
35 | # Draw the right line
36 | pen.forward(112)
37 |
38 | # Ending the filling of the color
39 | pen.end_fill()
40 |
41 | # Defining method to write text
42 | def txt():
43 |
44 | # Move turtle to air
45 | pen.up()
46 |
47 | # Move turtle to a given position
48 | pen.setpos(-68, 95)
49 |
50 | # Move the turtle to the ground
51 | pen.down()
52 |
53 | # Set the text color to lightgreen
54 | pen.color('lightgreen')
55 |
56 | # Write the specified text in
57 | # specified font style and size
58 | pen.write("Ivy Barley", font=(
59 | "Verdana", 12, "bold"))
60 |
61 |
62 | # Draw a heart
63 | heart()
64 |
65 | # Write text
66 | txt()
67 |
68 | # To hide turtle
69 | pen.ht()
70 |
71 |
--------------------------------------------------------------------------------
/GitInstallation_Guide.md:
--------------------------------------------------------------------------------
1 | **Install Git on Windows**
2 | * Download the latest Git for Windows installer(https://gitforwindows.org/).
3 | * After downloading, a Git Setup wizard screen will appear. Follow the Next and Finish prompts to complete the installation.
4 | * Open a Command Prompt and run the following commands to configure your Git username and email using the following commands:
5 | $ git config --global user.name "Username"
6 | $ git config --global user.email "Email Id"
7 |
8 | **Install Git on Mac OS**
9 | * Download the latest Git for Mac installer(https://sourceforge.net/projects/git-osx-installer/files/).
10 | * Open a terminal and verify the installation was successful by running this command:
11 | $ git --version
12 | * Configure your Git username and email using the following commands:
13 | $ git config --global user.name "Username"
14 | $ git config --global user.email "Email Id"
15 |
16 | **Install Git on Linux**
17 | * Open command line, install Git using below command:
18 | $ sudo apt-get update
19 | $ sudo apt-get install git
20 | * Verify the installation was successful by running this command:
21 | $ git --version
22 | * Configure your Git username and email using the following commands:
23 | $ git config --global user.name "Username"
24 | $ git config --global user.email "Email Id"
25 |
26 | **Some Git Installation Videos :**
27 | For Windows: https://www.youtube.com/watch?v=2j7fD92g-gE
28 | For Linux: https://www.youtube.com/watch?v=PLQQ3tJwBJg
29 | For Mac OS: https://www.youtube.com/watch?v=ZM3I16Z-lxI
30 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | # Description
2 |
3 | Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
4 |
5 | Fixes # (issue no.)
6 |
7 |
8 |
9 | ## Type of change
10 |
11 |
12 |
13 | - [ ] Bug fix (non-breaking change which fixes an issue)
14 | - [ ] New feature (non-breaking change which adds functionality)
15 | - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
16 | - [ ] This change requires a documentation update
17 |
18 | # Explain the Testing instructions
19 |
20 | **Test Configuration**:
21 |
22 | - Operating system:
23 | - Version:
24 | - Text-editors used:
25 |
26 | # Checklist:
27 |
28 |
29 |
30 | - [ ] My code follows the style guidelines of this project
31 | - [ ] I have performed a self-review of my own code
32 | - [ ] I have commented my code, particularly in hard-to-understand areas
33 | - [ ] I have made corresponding changes to the documentation
34 | - [ ] My changes generate no new warnings
35 | - [ ] I have added tests that prove my fix is effective or that my feature works
36 | - [ ] New and existing unit tests pass locally with my changes
37 | - [ ] Any dependent changes have been merged and published in downstream modules
38 |
39 | # ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
40 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *$py.class
5 |
6 | # C extensions
7 | *.so
8 |
9 | # Distribution / packaging
10 | .Python
11 | build/
12 | develop-eggs/
13 | dist/
14 | downloads/
15 | eggs/
16 | .eggs/
17 | lib/
18 | lib64/
19 | parts/
20 | sdist/
21 | var/
22 | wheels/
23 | pip-wheel-metadata/
24 | share/python-wheels/
25 | *.egg-info/
26 | .installed.cfg
27 | *.egg
28 | MANIFEST
29 |
30 | # PyInstaller
31 | # Usually these files are written by a python script from a template
32 | # before PyInstaller builds the exe, so as to inject date/other infos into it.
33 | *.manifest
34 | *.spec
35 |
36 | # Installer logs
37 | pip-log.txt
38 | pip-delete-this-directory.txt
39 |
40 | # Unit test / coverage reports
41 | htmlcov/
42 | .tox/
43 | .nox/
44 | .coverage
45 | .coverage.*
46 | .cache
47 | nosetests.xml
48 | coverage.xml
49 | *.cover
50 | *.py,cover
51 | .hypothesis/
52 | .pytest_cache/
53 |
54 | # Translations
55 | *.mo
56 | *.pot
57 |
58 | # Django stuff:
59 | *.log
60 | local_settings.py
61 | db.sqlite3
62 | db.sqlite3-journal
63 |
64 | # Flask stuff:
65 | instance/
66 | .webassets-cache
67 |
68 | # Scrapy stuff:
69 | .scrapy
70 |
71 | # Sphinx documentation
72 | docs/_build/
73 |
74 | # PyBuilder
75 | target/
76 |
77 | # Jupyter Notebook
78 | .ipynb_checkpoints
79 |
80 | # IPython
81 | profile_default/
82 | ipython_config.py
83 |
84 | # pyenv
85 | .python-version
86 |
87 | # pipenv
88 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89 | # However, in case of collaboration, if having platform-specific dependencies or dependencies
90 | # having no cross-platform support, pipenv may install dependencies that don't work, or not
91 | # install all needed dependencies.
92 | #Pipfile.lock
93 |
94 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow
95 | __pypackages__/
96 |
97 | # Celery stuff
98 | celerybeat-schedule
99 | celerybeat.pid
100 |
101 | # SageMath parsed files
102 | *.sage.py
103 |
104 | # Environments
105 | .env
106 | .venv
107 | env/
108 | venv/
109 | ENV/
110 | env.bak/
111 | venv.bak/
112 |
113 | # Spyder project settings
114 | .spyderproject
115 | .spyproject
116 |
117 | # Rope project settings
118 | .ropeproject
119 |
120 | # mkdocs documentation
121 | /site
122 |
123 | # mypy
124 | .mypy_cache/
125 | .dmypy.json
126 | dmypy.json
127 |
128 | # Pyre type checker
129 | .pyre/
130 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | First Time Contributors
13 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
39 |
40 |
41 |
42 |
43 |
44 | First time open source Contributors
45 |
46 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/script.js:
--------------------------------------------------------------------------------
1 | //NavBar
2 | function myFunction() {
3 | var x = document.getElementById("myTopnav");
4 | if (x.className === "topnav") {
5 | x.className += " responsive";
6 | } else {
7 | x.className = "topnav";
8 | }
9 | }
10 |
11 | // scroll to top starts
12 | var scrolltop = $("#scroll-top");
13 |
14 | $(window).scroll(function () {
15 | if ($(window).scrollTop() > 80) {
16 | scrolltop.addClass("active");
17 | } else {
18 | scrolltop.removeClass("active");
19 | }
20 | });
21 |
22 | scrolltop.on("click", function (e) {
23 | e.preventDefault();
24 | $("html, body").animate({ scrollTop: 0 }, "200");
25 | });
26 | // scroll to top ends
27 |
28 | // for first time contributors
29 | fetch("style_links.json")
30 | .then((response) => response.json())
31 | .then((data) => {
32 | let links = data;
33 |
34 | for (let i = 0; i < links.length; i++) {
35 | console.log(links.length);
36 | let StyleBoxDiv = document.createElement("div");
37 | StyleBoxDiv.innerHTML = `
38 |
39 |
40 |
41 |
${links[i].name}
42 |
43 |
47 |
48 |
`;
49 | document.getElementById("styles").appendChild(StyleBoxDiv);
50 | }
51 | });
52 |
53 |
54 | // for 2nd year ces team
55 | fetch("ces_team.json")
56 | .then((response) => response.json())
57 | .then((data) => {
58 | let links = data;
59 |
60 | for (let i = 0; i < links.length; i++) {
61 | console.log(links.length);
62 | let StyleBoxDiv = document.createElement("div");
63 | StyleBoxDiv.innerHTML = `
64 |
65 |
66 |
67 |
${links[i].name}
68 |
69 |
73 |
74 |
`;
75 | document.getElementById("ces").appendChild(StyleBoxDiv);
76 | }
77 | });
78 |
79 |
80 | // for 3rd year section
81 | fetch("third_team.json")
82 | .then((response) => response.json())
83 | .then((data) => {
84 | let links = data;
85 |
86 | for (let i = 0; i < links.length; i++) {
87 | console.log(links.length);
88 | let StyleBoxDiv = document.createElement("div");
89 | StyleBoxDiv.innerHTML = `
90 |
91 |
92 |
93 |
${links[i].name}
94 |
95 |
99 |
100 |
`;
101 | document.getElementById("third").appendChild(StyleBoxDiv);
102 | }
103 | });
104 |
--------------------------------------------------------------------------------
/style_links.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 |
4 | "name": "Awantika Krishna",
5 | "Github_username": "iwanttika16"
6 | },
7 | {
8 |
9 | "name": "Sarthak Vishwakarma",
10 | "Github_username": "hackbysarthak03"
11 | },
12 | {
13 | "name": "Neha",
14 | "Github_username": "Kumarineha12"
15 | },
16 | {
17 |
18 | "name": "Arun",
19 | "Github_username": "arunindian9648"
20 | },
21 | {
22 |
23 | "name": "kishan maurya",
24 | "Github_username": "kishanmaurya1"
25 | },
26 | {
27 |
28 | "name": "Devansh Tripathi",
29 | "Github_username": "Kali-13"
30 | },
31 | {
32 |
33 | "name": "MANVENDRA SHARMA",
34 | "Github_username": "NULLVOID76"
35 | },
36 | {
37 |
38 | "name": "Ankit Verma",
39 | "Github_username": "ankit1111verma"
40 | },
41 | {
42 | "name": "Udayan Chatterjee",
43 | "Github_username": "UdAyAn123"
44 | },
45 | {
46 | "name": "Siddharth Parashar",
47 | "Github_username": "sidparashar2001"
48 | },
49 | {
50 | "name": "Sejal Bhardwaj",
51 | "Github_username": "sejalbhardwaj"
52 | },
53 | {
54 | "name": "Suyash Gupta",
55 | "Github_username": "sgalpha01"
56 | },
57 | {
58 | "name": "Visinigiri Aditya",
59 | "Github_username": "adityakumar48"
60 | },
61 | {
62 | "name": "Vyom Gupta",
63 | "Github_username": "vyomguptaa"
64 | },
65 | {
66 | "name": "Vamshi Muluguri",
67 | "Github_username": "vamshi726"
68 | },
69 | {
70 | "name": "Yanala shivaprasad reddy",
71 | "Github_username": "shivaprasadyanala"
72 | },
73 | {
74 | "name": "Adarsh Navneet Sinha",
75 | "Github_username": "geeky01adarsh"
76 | },
77 | {
78 | "name": "Ananya Redhu",
79 | "Github_username": "ananzzz"
80 | },
81 | {
82 | "name": "Atul Kesharwani",
83 | "Github_username": "Atu77l"
84 | },
85 | {
86 | "name": "Dev Patel",
87 | "Github_username": "devp73"
88 | },
89 | {
90 | "name": "Himansh",
91 | "Github_username": "ruhend"
92 | },
93 | {
94 | "name": "Tushar Kesarwani",
95 | "Github_username": "TusharKesarwani"
96 | },
97 | {
98 | "name": "Anubhav Gupta",
99 | "Github_username": "Anubhavgupta14"
100 | },
101 | {
102 | "name": "RAJEEV GUPTA",
103 | "Github_username": "RAJEEVKUMAR9598"
104 | },
105 | {
106 | "name": "ASHISH KUMAR SINGH ",
107 | "GIthub_username": "Ashish7103"
108 | },
109 | {
110 | "name": "Ankit Verma",
111 | "Github_username": "ankit1111verma"
112 | },
113 | {
114 | "name": "Atul Kumar",
115 | "Github_username": "atul1510"
116 | },
117 |
118 | {
119 | "name": "Ankita Puri",
120 | "Github_username": "ankitapuri"
121 | },
122 | {
123 | "name": "Abhiyodaya Pandey",
124 | "Github_username": "Abhiyodaya2002"
125 | },
126 | {
127 | "name": "Anshit Seth",
128 | "Github_username": "Anshitseth"
129 | },
130 | {
131 | "name": "Kumari Astha Rani",
132 | "Github_username": "astha2412"
133 | },
134 | {
135 | "name": "Km Alan",
136 | "Github_username": "alankemboi"
137 | },
138 | {
139 | "name": "Manish Agrahari",
140 | "Github_username": "manish831"
141 | },
142 | {
143 | "name": "Malay Dewangan",
144 | "Github_username": "Malaydewangan09"
145 | },
146 | {
147 | "name": "Mitali Garg",
148 | "Github_username": "Mitali-13"
149 | },
150 | {
151 | "name": "Neha Ajith",
152 | "Github_username": "neha-ajith"
153 | },
154 | {
155 | "name": "Naveen kushwaha",
156 | "Github_username": "naveen3011"
157 | },
158 | {
159 | "name": "Sophiya Singh",
160 | "Github_username": "sophiya02"
161 | },
162 | {
163 | "name": "Sanskriti Singh",
164 | "Github_username": "ssanskriti-25"
165 | },
166 | {
167 | "name": "Susmita Dey",
168 | "Github_username": "Susmita-Dey"
169 | },
170 | {
171 | "name": "Amin Gholizad",
172 | "Github_username": "AminGholizad"
173 | },
174 | {
175 | "name": "Mohit Dodeja",
176 | "Github_username": "Mohit-1909"
177 | },
178 | {
179 | "name": "Anikalp Jaiswal",
180 | "Github_username": "Anikalp_1"
181 | }
182 |
183 | ]
184 |
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap");
2 |
3 | html {
4 | overflow-x: hidden;
5 | scroll-behavior: smooth;
6 | }
7 |
8 | body {
9 | margin: 0 auto;
10 | padding: auto;
11 | background-color: rgb(19, 24, 44);
12 | }
13 | /* heading */
14 | h1 {
15 | color: #fff;
16 | text-transform: uppercase;
17 | text-decoration: none;
18 | letter-spacing: 0.15em;
19 | text-align: center;
20 | padding: 15px 20px;
21 | position: relative;
22 | }
23 | h1:after {
24 | background: none repeat scroll 0 0 transparent;
25 | bottom: 0;
26 | content: "";
27 | display: block;
28 | height: 2px;
29 | left: 50%;
30 | position: absolute;
31 | background: #fff;
32 | transition: width 0.3s ease 0s, left 0.3s ease 0s;
33 | width: 0;
34 | }
35 | h1:hover:after {
36 | width: 100%;
37 | left: 0;
38 | }
39 |
40 | .styles {
41 | display: flex;
42 | justify-content: space-around;
43 | margin: 0 auto;
44 | margin-top: 4vmin;
45 | flex-wrap: wrap;
46 | /* flex-direction: column; */
47 | }
48 |
49 | .stylebox {
50 | display: flex;
51 | flex-direction: column;
52 | flex-wrap: wrap;
53 | background-color: rgb(245, 217, 217);
54 | padding: 1rem;
55 | text-align: center;
56 | font-family: "Poppins", sans-serif;
57 | margin: 1.5rem;
58 | border-radius: 0.5rem;
59 | border: none;
60 | width: 15rem;
61 | justify-content: center;
62 | transition: 0.2s;
63 | }
64 | .stylebox:hover {
65 | transform: scale(1.02);
66 | -webkit-box-shadow: 0 0 10px 2px rgba(26, 1, 253, 0.42);
67 | -moz-box-shadow: 0 0 10px 2px rgba(26, 1, 253, 0.42);
68 | box-shadow: 0 0 10px 2px rgba(26, 1, 253, 0.42);
69 | }
70 | .stylebox .image {
71 | width: 15rem;
72 | height: 13rem;
73 | }
74 | .stylebox .image img {
75 | background-size: cover;
76 | width: 100%;
77 | height: 100%;
78 | border-radius: 0.5rem;
79 | image-rendering: pixelated;
80 | }
81 | .stylebox p {
82 | text-align: left;
83 | font-size: 1.2rem;
84 | font-weight: 600;
85 | text-transform: capitalize;
86 | }
87 | .stylebox .btn-group {
88 | display: flex;
89 | justify-content: space-between;
90 | gap: 1rem;
91 | }
92 | .stylebox a {
93 | background-color: white;
94 | border: none;
95 | border-radius: 0.5rem;
96 | padding: 1vmin;
97 | font-size: 1.2rem;
98 | background-color: rgb(89, 0, 131);
99 | color: rgb(255, 255, 255);
100 | text-decoration: none;
101 | transition: 0.2s;
102 | width: 100%;
103 | }
104 | .stylebox a.code {
105 | background-color: rgb(47, 128, 0);
106 | }
107 | .stylebox a.code:hover {
108 | background-color: rgb(39, 105, 0);
109 | }
110 | a:hover {
111 | background-color: rgb(44, 1, 65);
112 | cursor: pointer;
113 | }
114 |
115 | @media only screen and (max-width: 600px) {
116 | .styles {
117 | display: flex;
118 | flex-wrap: wrap;
119 | flex-direction: column;
120 | justify-content: space-around;
121 | margin: 0 auto;
122 | margin-top: 4vmin;
123 | }
124 | .stylebox {
125 | padding: 0.5rem;
126 | margin: auto;
127 | width: 18rem;
128 | margin-bottom: 1.5rem;
129 | }
130 | .stylebox .image {
131 | width: 18rem;
132 | height: 12rem;
133 | border-radius: 0.5rem;
134 | }
135 | }
136 |
137 | /* scroll top starts */
138 | #scroll-top {
139 | position: fixed;
140 | right: 1rem;
141 | padding: 0.6rem 1rem;
142 | font-size: 2rem;
143 | background: #00ff37;
144 | color: rgb(13, 0, 44);
145 | border-radius: 50%;
146 | transition: 1s linear;
147 | z-index: 1000;
148 | text-decoration: none;
149 | }
150 | #scroll-top:hover {
151 | -webkit-box-shadow: 0 0 10px 2px rgba(26, 1, 253, 0.42);
152 | -moz-box-shadow: 0 0 10px 2px rgba(26, 1, 253, 0.42);
153 | box-shadow: 0 0 10px 2px rgba(26, 1, 253, 0.42);
154 | }
155 | #scroll-top.active {
156 | bottom: 5px;
157 | }
158 | /* scroll top ends */
159 |
160 | /* CSS for NavBar starts */
161 | .topnav {
162 | background-color: rgb(19, 24, 44);
163 | overflow: hidden;
164 | }
165 |
166 | .topnav a {
167 | float: left;
168 | display: block;
169 | color: #f2f2f2;
170 | text-align: center;
171 | padding: 14px 16px;
172 | text-decoration: none;
173 | font-size: 17px;
174 | }
175 |
176 | .topnav a:hover {
177 | background-color: #ddd;
178 | color: black;
179 | }
180 |
181 | .topnav a.active {
182 | background-color: #04aa6d;
183 | color: white;
184 | }
185 |
186 | .topnav .icon {
187 | display: none;
188 | }
189 |
190 | @media screen and (max-width: 600px) {
191 | .topnav a:not(:first-child) {
192 | display: none;
193 | }
194 | .topnav a.icon {
195 | float: right;
196 | display: block;
197 | }
198 | }
199 |
200 | @media screen and (max-width: 600px) {
201 | .topnav.responsive {
202 | position: relative;
203 | }
204 | .topnav.responsive a.icon {
205 | position: absolute;
206 | right: 0;
207 | top: 0;
208 | }
209 | .topnav.responsive a {
210 | float: none;
211 | display: block;
212 | text-align: left;
213 | }
214 | }
215 |
216 | /* CSS for NavBar end */
217 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Step-by-Step Guide for beginners for getting started with Open-Source
2 |
3 | ### This project is part of Hacktoberfest'21
4 |
5 | 
6 |
7 | ### What is Git and Github?
8 | Git helps is maintaining the history of the project. It maintains a record of what changes were made to a project , when and by whom.
9 | Github is an online platform that hosts git repository.(Repository is a folder which saves all changes).
10 |
11 | ## What is HacktoberFest?
12 |
13 | **`Hacktoberfest`** is an `open-source competition` open to everyone in our global community. Whether you’re a developer, student learning to code, event host, or company of any size, you can help drive growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to complete the challenge.
14 |
15 | 1. **`Hacktoberfest`** is a celebration open to everyone in our global community.
16 | 2. `Pull requests` can be made in any `GitHub-hosted` repositories/projects.
17 | 3. You can sign up anytime between `October 1` and `October 31`.
18 |
19 | ## Rules:
20 |
21 | To earn your **`Hacktoberfest T-Shirt`** or tree reward, you must register and make four valid pull requests (PRs) between `October 1-31` (in any time zone). PRs can **NOT** be made to any public repo on GitHub, maintainers have to opt in with the topic **`Hacktoberfest`** on the repo. If a `maintainer` reports your pull request as `spam` or behavior not in line with the project’s code of conduct, you will be `ineligible` to participate. This year, the first **`70,000`** participants who successfully complete the challenge will be eligible to receive a `prize`.
22 |
23 | ## Projects in which you can contribute:
24 |
25 | - Any `github` repository with the **`Hacktoberfest`** topic
26 | - For the sake of convenience, you can contribute to this very project :)
27 |
28 |
29 |
Here The Contribution Begins💻
30 |
31 | #### If you are a beginner then this repository is for you. By this tutorial you are going to learn how to make your First Pull Request for sure.
32 |
33 |
36 |
37 |
38 | ## ⭐ STAR THIS REPOSITORY THIS WILL PAY OFF MY WORK
39 |
40 |
41 |
42 | ### 1. The first thing you need is Git installed on your system, if it is not installed then download it as per your OS and install it.
43 |
44 | Git Setup :-
45 |
46 | Download Git as per your OS.
47 | Git installation Video for Windows User
48 | Git installation Video for Mac User
49 | Git installation Video for Linux User
50 |
51 | Install Git
52 | Open the Git Bash ( Right Click )
53 | Run the Commands
54 |
55 | `$ git config --global user.name "Your Name"`
56 |
57 | `$ git config --global user.email youremail@example.com`
58 |
59 | `$ git config --list`
60 |
61 | You should be able to see your entered name and email under user.name & user.email
62 |
63 |
64 |
65 |
66 | ### 2. You should have an account on GitHub if you you don't have an account then simply make it.
67 |
68 | ### 3. You will need a text editor accoring to your comfort , I prefer Vs code
69 |
70 | - Download Vs Code as per your OS.
71 | - Vs Code installation Video as per your OS.
72 |
73 | #### Other Text Editors
74 |
75 | - Sublime Text
76 | - Atom
77 | - Notepad++
78 | - CoffeeCup HTML Editor
79 | - Text Mate
80 | - Vim
81 | - Ultra Edit
82 | - Brackets
83 | - Code Block
84 |
85 | ### 4. Now you just have to setup the project from GitHub to your local system.
86 |
87 | Setting Project on your Local System :-
88 |
89 | Fork this Repository or Project
90 | This will create a copy of this repository in your account.
91 |
92 | Copy the link of the Repository
93 |
94 | Open Git bash where you want to clone the project and clone it
95 | Clone it
96 | Run Command and Hit Enter
97 |
98 | ```
99 | git clone
100 | ```
101 |
102 |
103 | In this case it is ``` git clone https://github.com/arpit456jain/Getting-Started-with-open-source.git ```
104 |
105 | After you hit enter you will notice that some downloading will start. It's actually cloning of repo form your GitHub repository to your local system.
106 |
107 | After this you will notice a folder is created with the name of repository
108 |
109 | Then just close the Git bash and open this folder in your preferred text editor...
110 | Here is an example in VS Code.
111 |
112 |
113 |
114 | ### 5. Now Make necessary changes and commit them , lets say you have to add your name in readme , you already set up the project in local system . Now before starting your work always rembember to pull latest change from the main Repo.
115 |
116 |
117 |
118 | Fetch And Merge
119 |
120 |
121 | Pull these changes in your local system
122 |
123 | ```
124 | git pull origin master
125 | ```
126 |
127 | The same command can also be divided into the following -
128 | 1. Fetching all commits from upstream
129 | git fetch --all --prune
130 | 2. Reset the main branch of origin to upstream
131 | git reset --hard upstream/main
132 |
133 |
134 |
135 | make a new branch and then make the changes , then commit them. make sure to commit to the new branch
136 | Never commit in master branch
137 |
138 | ```
139 | git checkout -b new_branch_name
140 | git add -A
141 | git commit -a -m "message"
142 | ```
143 | After commiting your changes on your local host you have to push that changes to GitHub , make sure you push the new branch
144 |
145 | ```
146 | git push origin new_branch_name
147 | ```
148 |
149 |
150 |
151 | ### 6. Make the Pull Request
152 |
153 | when you push the changes you will notice a new branch will be created on GitHub and there will be a green button for creating pull request. Click on it.
154 |
155 |
156 | After this a new page will be open like this
157 |
158 | Now add a title and description of your PR and click on create pull request.
159 |
160 | Congrats 🎉 your Pull Request is created
161 |
162 |
163 |
164 | ---
165 |
166 | # Some Common Error And Their Solutions
167 |
168 | ### 1. Updates were rejected or failed to push some refs.
169 |
170 |
171 |
172 | This is most common error you will find and its pretty easy to solve .
173 |
174 | Solution: You just have to pull latest changes to your local system first and then you can push them
175 |
176 | ```
177 | git pull origin master
178 | ```
179 |
180 |
181 | Note : if your repo is a forked one and its some commit behind then first fetch n merge then pull changes
182 |
183 |
184 |
185 | ### 2. Unable to detect identity.
186 |
187 |
188 |
189 | Its pretty easy to solve .
190 |
191 | Solution: You just have to write your username and email
192 |
193 | ```
194 | git config --global user.name "Your Name"
195 | ```
196 |
197 | ```
198 | git config --global user.email youremail@example.com
199 | ```
200 |
201 | ### 3. Remote origin already exists.
202 |
203 |
204 |
205 | It is easy to solve
206 |
207 |
Solution: You just have to update the URL of the remote repository with the name "origin" to the URL of the remote repository you want to add
208 |
209 | ```
210 | git remote set-url origin
211 | ```
212 |
213 | ### 3. Refusing to merge unrelated histories.
214 |
215 |
216 |
217 | This error appears when some of your ambiguous actions confuse Git on how to function further.
218 |
219 |
Solution: The solution to this fatal error is to use –allow-unrelated-histories flag with the git pull command or git merge command.
220 |
221 | ```
222 | git pull origin master –allow-unrelated-histories
223 | ```
224 |
225 | ### 3. OpenSSL SSL_read: Connection was reset.
226 |
227 |
228 |
229 | This is the SSL certificate of the server that has not been signed by a third party, so an error is reported.
230 |
231 |
Solution: This error is most likely caused by network instability and connection timeout.
232 |
233 | ```
234 | git config http.sslVerify "false"
235 | ```
236 |
237 | ### 4. It is always best to make a new branch.
238 |
239 | NEVER commit on the main branch.
240 | The importance of adding a new branch is that we can work on the code until our changes are finalized. Suppose you are working on a project that needs x changes. It will be easier for the maintainer to review changes one at a time instead of all the changes in a single PR. The maintainer can easily suggest changes in your PR on a particular issue.
241 | After finalizing and completing the code, the branch can be merged with the main branch.
242 | 1 branch can only have one PR.
243 |
244 |
245 | ---
246 |
247 | # Common Git Commands you should know!!!
248 |
249 | ### 1. Git checkout
250 |
251 |
You can use the checkout command to switch the branch that you are currently working on.
252 |
253 | ```
254 | git checkout
255 | ```
256 | You can use the checkout command with `-b` to create a new branch and switch to the same.
257 |
258 | ```
259 | git checkout -b
260 | ```
261 |
262 | ### 2. Git init
263 |
264 | This is the command you need to use if you want to start a new empty repository or to reinitialize an existing one in the project root. It will create a .git directory with its subdirectories.
265 |
266 | ```
267 | git init
268 | ```
269 |
270 | ### 3. Git diff
271 |
272 | You can use this command to see the unstaged changes on the current branch.
273 |
274 | ```
275 | git diff
276 | ```
277 |
278 | If you want to see the staged changes.
279 |
280 | ```
281 | git diff --staged
282 | ```
283 |
284 | Or you can compare two branches:
285 |
286 | ```
287 | gif diff
288 | ```
289 |
290 | ### 4. Git add
291 |
292 | This is the command you need to use to stage changed files. You can stage individual files.
293 |
294 | ```
295 | git add
296 | ```
297 |
298 | You can also stage all files.
299 |
300 | ```
301 | git add .
302 | ```
303 |
304 | ### 5. Git branch
305 |
306 | Using git branch will list all the branches of the repository.
307 |
308 | ```
309 | git branch
310 | ```
311 |
312 | Or you can use it to create a new branch, without checking it out.
313 |
314 | ```
315 | git branch
316 | ```
317 |
318 | To delete a branch.
319 |
320 | ```
321 | git branch -d
322 | ```
323 |
324 | ### 6. Git log
325 |
326 | If you want to see what you have committed till now.
327 |
328 | ```
329 | git log
330 | ```
331 |
332 | If you want to see last 5 commits among 100000 commits.
333 |
334 | ```
335 | git log -p -1
336 | ```
337 |
338 | ### 7. Git merge
339 |
340 | Merge the changes made in a staging branch into the stable branch.
341 |
342 | ```
343 | git merge
344 | ```
345 |
346 | ### 8. Git rm
347 |
348 | Remove files or directories from the working index (staging area). With git rm, there are two options to keep in mind: force and cached. Running the command with force deletes the file. The cached command removes the file from the working index. When removing an entire directory, a recursive command is necessary.
349 |
350 | To remove a file from the working index (cached)
351 |
352 | ```
353 | git rm --cached
354 | ```
355 |
356 | To delete a file (force)
357 |
358 | ```
359 | git rm -f
360 | ```
361 |
362 | To remove an entire directory from the working index (cached)
363 |
364 | ```
365 | git rm -r --cached
366 | ```
367 |
368 | To delete an entire directory (force)
369 |
370 | ```
371 | git rm -r -f
372 | ```
373 |
374 | ### 9. Git stash
375 |
376 | To save changes made when they’re not in a state to commit them to a repository. This will store the work and give a clean working directory. For instance, when working on a new feature that’s not complete, but an urgent bug needs attention.
377 |
378 | Store current work with untracked files
379 |
380 | ```
381 | git stash -u
382 | ```
383 |
384 | Bring stashed work back to the working directory
385 |
386 | ```
387 | git stash pop
388 | ```
389 |
390 | ### 10. Git clear
391 |
392 | To clean git bash.
393 |
394 | ```
395 | git clear
396 | ```
397 |
398 | # Git Cheatsheet!!!
399 |
400 | ## SETUP
401 |
402 | Configuring user information used across all local repositories
403 |
404 | ### 1. git config --global user.name “[firstname lastname]”
405 |
406 | set a name that is identifiable for credit when review version history
407 |
408 | ### 2. git config --global user.email “[valid-email]”
409 |
410 | set an email address that will be associated with each history marker
411 |
412 |
413 | ### 3. git config --global color.ui auto
414 |
415 | set automatic command line coloring for Git for easy reviewing
416 |
417 |
418 | ## SETUP & INIT
419 |
420 | Configuring user information, initializing and cloning repositories
421 |
422 | ### 1. git init
423 |
424 | initialize an existing directory as a Git repository
425 |
426 | ### 2. git clone [url]
427 |
428 | retrieve an entire repository from a hosted location via URL
429 |
430 |
431 | ## STAGE & SNAPSHOT
432 |
433 | Working with snapshots and the Git staging area
434 |
435 | ### 1. git status
436 |
437 | show modified files in working directory, staged for your next commit
438 |
439 | ### 2. git add [file]
440 |
441 | add a file as it looks now to your next commit (stage). This area contains a list of all the files you have recently changed. It tells Git that you want to include updates to a particular file in the next commit.
442 |
443 | ### 3. git reset [file]
444 |
445 | Remove the specified file from the staging area, but leave the working directory unchanged. This unstages a file without overwriting any changes.
446 |
447 | ### 4. git diff
448 |
449 | diff of what is changed but not staged
450 |
451 | ### 5. git diff --staged
452 |
453 | diff of what is staged but not yet commited
454 |
455 | ### 6. git commit -m “[descriptive message]”
456 |
457 | commit your staged content as a new commit snapshot
458 |
459 |
460 | ## BRANCH & MERGE
461 |
462 | Isolating work in branches, changing context, and integrating changes
463 |
464 | ### 1. git branch
465 |
466 | list your branches. a * will appear next to the currently active branch
467 |
468 |
469 | ### 2. git branch [branch-name]
470 |
471 | create a new branch at the current commit
472 |
473 | ### 3. git checkout
474 |
475 | switch to another branch and check it out into your working directory
476 |
477 | ### 4. git merge [branch]
478 |
479 | merge the specified branch’s history into the current one
480 |
481 |
482 | ## INSPECT & COMPARE
483 |
484 | Examining logs, diffs and object information
485 |
486 | ### 1. git log
487 |
488 | show the commit history for the currently active branch
489 |
490 | ### 2. git log branchB..branchA
491 |
492 | show the commits on branchA that are not on branchB
493 |
494 | ### 3. git log --follow [file]
495 |
496 | show the commits that changed file, even across renames
497 |
498 | ### 4. git diff branchB...branchA
499 |
500 | show the diff of what is in branchA that is not in branchB
501 |
502 | ### 5. git show [SHA]
503 |
504 | show any object in Git in human-readable format
505 |
506 |
507 | ## SHARE & UPDATE
508 |
509 | Retrieving updates from another repository and updating local repos
510 |
511 | ### 1. git remote add [alias] [url]
512 |
513 | add a git URL as an alias
514 |
515 | ### 2. git fetch [alias]
516 |
517 | fetch down all the branches from that Git remote
518 |
519 | ### 3. git merge [alias]/[branch]
520 |
521 | merge a remote branch into your current branch to bring it up to date
522 |
523 | ### 4. git push [alias] [branch]
524 |
525 | Transmit local branch commits to the remote repository branch
526 |
527 | ### 5. git pull
528 |
529 | fetch and merge any commits from the tracking remote branch
530 |
531 |
532 |
533 | ## What if I have Merge Conflicts?
534 |
535 | #### A GitHub conflict is when people make changes to the same area or line in a file. This must be fixed before it is merged in order to prevent collision in the main branch.
536 |
537 | - #### To read more about this, go to [Github Docs - About Merge Conflicts](https://docs.github.com/en/github/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts)
538 | - #### To find out about how to fix a Git Conflict, go to [Github Docs - Resolve Merge Conflict](https://docs.github.com/en/github/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-on-github)
539 |
540 | Video Link: https://youtu.be/apGV9Kg7ics
541 | This video will help you to begin with Git and Github and start hosting projects on github or work on existing projects.
542 |
543 | ---
544 |
545 | ## Now just make a Pull Request and add your name in Read me file.
546 |
547 | ## CodeSmashers Community
548 |
549 |
550 |
551 | - ### **A**
552 | - [Akash Jaiswal](https://github.com/akashjaiswal797112)
553 | - [Arpit Jain](https://github.com/arpit456jain)
554 | - [Amin Gholizad](https://github.com/AminGholizad)
555 | - [Ankit Verma](https://github.com/ankit1111verma)
556 | - [Ankita Puri](https://github.com/ankitapuri)
557 | - [Adarsh Navneet Sinha](https://github.com/geeky01adarsh)
558 | - [Ananya Redhu](https://github.com/ananzzz)
559 | - [Ankita Kumari](https://github.com/Ankita-21)
560 | - [Atul Kesharwani](https://github.com/Atu77l)
561 | - [Abhiyodaya Pandey](https://github.com/Abhiyodaya2002)
562 | - [Awantika Krishna](https://github.com/iwanttika16)
563 | - [Arun Kumar Yadav](https://github.com/arunindian9648)
564 | - ### **B**
565 | - [Biswajit Debnath](https://github.com/BiswjitDebnath)
566 | - ### **C**
567 | - ### **D**
568 | - [Dev Patel](https://github.com/devp73)
569 | - [Dinki Yaduwanshi](https://github.com/anonymousdaisy5)
570 |
571 | - ### **E**
572 | - ### **F**
573 | - ### **G**
574 | - ### **H**
575 | - [Himansh](https://github.com/ruhend)
576 | - ### **I**
577 | - ### **J**
578 | - ### **K**
579 | - [kishan maurya](https://github.com/kishanmaurya1)
580 | - [Kumari Astha Rani](https://github.com/astha2412)
581 | - [Km Alan](https://github.com/alankemboi)
582 | - [Kanchan](https://github.com/kanchan905)
583 | - [Karan Boro](https://github.com/slothtae)
584 | - ### **L**
585 | - ### **M**
586 | - [Manish Agrahari](https://github.com/manish831)
587 | - [Malay Dewangan](https://github.com/Malaydewangan09)
588 |
589 | - [Mitali Garg](https://github.com/Mitali-13)
590 | - ### **N**
591 | - [Neha Ajith](https://github.com/neha-ajith)
592 | - [Naveen kushwaha](https://github.com/naveen3011)
593 | - [nitish saini](https://github.com/nitishsaini706)
594 | - ### **O**
595 | - ### **P**
596 | - [Prajwal Vijaykumar Mali](https://github.com/prajwalmali)
597 | - ### **Q**
598 | - ### **R**
599 | - ### **S**
600 | - [Siddharth Parashar](https://github.com/sidparashar2001)
601 | - [Sejal Bhardwaj](https://github.com/sejalbhardwaj)
602 | - [Sophiya Singh](https://github.com/sophiya02)
603 | - [Suyash Gupta](https://github.com/sgalpha01)
604 | - [Sanskriti Singh](https://github.com/ssanskriti-25)
605 | - [Susmita Dey](https://github.com/Susmita-Dey)
606 | - [Sarthak Vishwakarma](https://github.com/hackbysarthak03)
607 | [Shivam Agarwal](https://github.com/shivamagarwal2510)
608 | - ### **T**
609 | - [Tushar Kesarwani](https://github.com/TusharKesarwani)
610 | - [Tushar Kesarwani](https://github.com/TusharKesarwani)
611 | - ### **U**
612 | - [Urvi Gupta](https://github.com/urviigupta)
613 | - ### **V**
614 | - [Visinigiri Aditya](https://github.com/adityakumar48)
615 | - [Vyom Gupta](https://github.com/vyomguptaa)
616 | - [Vamshi Muluguri](https://github.com/vamshi726)
617 |
618 | - ### **W**
619 | - ### **X**
620 | - ### **Y**
621 | - [Yanala shivaprasad reddy](https://github.com/shivaprasadyanala)
622 | - [Yash Gupta](https://github.com/yashg-116)
623 | - ### **Z**
624 |
625 | Project Admins ❤️
626 |
627 |
632 | ✨ Contributors
633 |
634 | Thanks go to these **Wonderful People** 👨🏻💻: 🚀
635 |
636 |
645 |
646 | Contributions of any kind are welcome!
647 |
648 | ## Open Source Programs [click here](https://github.com/arpit456jain/Open-Source-Programs)
649 |
650 | ## Some Open Source Projects you can contribute to.
651 |
652 | | Project Name | Tech Stack |
653 | | ---------------------------------------------------- | ------------------------------------------------------ |
654 | | [PixelVibe](https://github.com/ankitapuri/pixelvibe) | HTML , CSS , Bootstrap , Java Script , Python , Django |
655 | | [Cool Front-End Templates](https://github.com/arpit456jain/Cool-Front-End_Templates) | HTML , CSS , Bootstrap |
656 | | [Amazing Css effects](https://github.com/arpit456jain/Amazing-Css-Effects) | HTML , CSS , Bootstrap |
657 | | [Amazing Js Projects](https://github.com/arpit456jain/Amazing-Js-Projects) | HTML , CSS , Bootstrap, JS |
658 | | [Web-Development-Path-And-Resources](https://github.com/arpit456jain/Web-Development-Path-And-Resources) |Documentation |
659 | | [Open-Source-Programs](https://github.com/arpit456jain/Open-Source-Programs) | documentaion |
660 |
661 | ## show some ❤️ by giving the star to this repo
662 |
--------------------------------------------------------------------------------