GithubHelp home page GithubHelp logo
  • šŸ‘‹ Hi, Iā€™m Suvrajeet
  • šŸ‘€ Iā€™m interested in Blockchain
  • šŸŒ± Iā€™m currently learning Blockchain
  • šŸ’žļø Iā€™m looking to collaborate on Blockchain Projects
  • šŸ“« Reach me @twitter - suvrajeetb

visitors


Git Essentials


  • Command Line Instructions

  • Gitpod can also be used as an alternate way instead of using local machine to work on files and hence finally upload them to a VCS service provider.
  • Step A may not be required in this case
  • Commands to upload files from local repository to remote repository from VCS services provides like ' Github, Gitlab, etc ' : -


A. Git Global Setup


git config --global user.name "github/gitlab-username"

git config --global user.email "github/gitlab-registered-email-address"


B.1 Create a new repository


git clone https://www.github.com/username/repository-name.git **_OR_** https://www.gitlab.com/username/repo-name.git

cd repository-name

touch new-file-name

git add . **_OR_** git add file-name

git commit -m "commit-message"

git status

  • To check the status of your files

git push -u origin master

  • "-u origin master" is optional & is not required at most of the time .

B.2. Create a new repository on the command line


git init

git remote add origin https://github.com/username/repo-name.git

echo "# echo-text" >> README.md

git add README.md

git commit -m "commit message"

git branch -M trunk

git push -u origin trunk


B.3. Push a Local repo WHILE local repo != existing remote repo


git init

git remote add origin https://github.com/username/repo-name.git

git add .

git commit -m "commit-message"

git branch -M trunk

git pull https://github.com/username/repo-name.git --allow-unrelated-histories

git push -u origin trunk


B.4. Push an existing repository from the command line


git init

git remote add origin https://github.com/username/repo-name.git

git branch -M trunk

git push -u origin trunk

Suvrajeet Banerjee's Projects

bottleye icon bottleye

BottlEye is a usermode emulator for the popular anti-cheat BattlEye

bounty-targets-data icon bounty-targets-data

This repo contains hourly-updated data dumps of bug bounty platform scopes (like Hackerone/Bugcrowd/Intigriti/etc) that are eligible for reports

bug-bounty-reference icon bug-bounty-reference

Inspired by https://github.com/djadmin/awesome-bug-bounty, a list of bug bounty write-up that is categorized by the bug nature

bugbountyguide icon bugbountyguide

Bug Bounty Guide is a launchpad for bug bounty programs and bug bounty hunters.

bugbountytoolkit icon bugbountytoolkit

A multi-platform bug bounty toolkit that can be installed on Debian/Ubuntu or setup with Docker.

bugbountytools icon bugbountytools

Tools that i personally use for Bug Bounty Hunting and web assessments.

build-your-own-x icon build-your-own-x

Master programming by recreating your favorite technologies from scratch.

bumblebee icon bumblebee

šŸš• An agnostic data profiling GUI to make your data science tasks easier.

cadmus icon cadmus

A GUI frontend for @werman's Pulse Audio real-time noise suppression plugin

calendarheatmap icon calendarheatmap

Calendar heatmap in plain Go inspired by Github contribution activity

callstranger icon callstranger

Vulnerability checker for Callstranger (CVE-2020-12695)

camphish icon camphish

Grab cam shots from target's phone front camera or PC webcam just sending a link.

cardano-sl icon cardano-sl

Cryptographic currency implementing Ouroboros PoS protocol

carla icon carla

Open-source simulator for autonomous driving research.

cbrain-cam icon cbrain-cam

Code for neural network parameterization project

celo-track icon celo-track

Course content for one of the best guides on Celo - the mobile-first Layer 2 for Ethereum

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.