Git Product home page Git Product logo

beginner-repo's Introduction

Beginner-Repo

This repository is made for the beginners to get started with git contribution

Setup Git

  • git config --global user.name "John_Doe"
  • git config --global user.email "[email protected]"

Git commands you are going to use

  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)
  2. cd RepositoryName(Beginner-Repo)
  3. git checkout -b branch_name
  4. git add filename.txt (after changing a particular file )
  5. git add . (too add everything)
  6. git commit -m "message" (it is recommended to commit with a message to tell what are the things you have changed)
  7. git push (push it to the main branch now it will be available in github)

git push origin branch_name (it will push your code from local branch to the master branch) e.g git push origin devsg ( it will push branch devsg( local branch) to original repo's master branch , henceforth creating a PR)

  1. git config --global https.proxy 172.16.102.28:8080
  2. git config --global http.proxy 172.16.102.28:8080
  3. git config --global --get-regexp http.*
  4. git config --global --unset https.proxy
  5. git config --global --unset http.proxy

First Contribtution

  • 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.

  • 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

  • cd Beginner-Repo

  • Change from master branch to your local_branch git checkout -b local_branch where local_branch is your local branch name and is user defined from your Git Bash.

  • Add your name in the Contributor.md file as given in the Contributors format

  • git add Contributor.md

  • 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"

  • git push origin local_branch where local_branch is your local branch name and is user defined from your Git Bash.

  • This will help you in making your first PR.

All the best for JGEC Winter of Code(JWoC). Keep contribtuing.:tada:

Author : Sudipto Ghosh ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป

beginner-repo's People

Contributors

pydevsg avatar richard937 avatar murtaza1112 avatar nikhita28 avatar sahilsaha7773 avatar sauravlal15 avatar sruti2024 avatar meetzachy avatar chiraag-kakar avatar code-soham avatar gamingdeviiit avatar gr33nm0nk2802 avatar harshad71 avatar hound77 avatar maihunsandip avatar parjanyaacoder avatar sayan2203 avatar suvamprasd avatar kushagragangwarr avatar rozie733 avatar poojadhongadi avatar nuclearcactus avatar mcmonojit avatar mahmoudmabrok avatar 0xjaskeerat avatar invinciblenobita avatar gauravburjwal avatar gaurks avatar tgoscray avatar arpanb8907 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.