Posts

Showing posts with the label Git

How to do ssh login to push/pull code on bitbucket

Hey everyone πŸ˜€  Tonight (11:43 pm) I am writing this blog post for those who find difficulty in ssh login on bitbucket and also for those who loves learn new thinsgs. Please follow the steps to add ssh key into bitbucket account to solve your issue. Open git bash terminal and enter the command ssh-keygen -t rsa -C "your email address" Enter passphrase (leave it blank) and enter Enter the same phrase again (leave it blank) and enter Copy the  id_rsa.pub  file content from where it is residing in your system For Windows:-  C:\Users\username.ssh For Mac:- /Users/UserName(Account Name) Login to bitbucket account  Click top right-most user icon -> bitbucket settings -> ssh keys under security menu  Paste into key-field and save it.  Restart your git bash terminal and now you are able to push your work, clone others work and pull your repos✌

Search my gist

 

Git Commands Cheet Sheet

This guide includes an introduction to Git, a glossary of terms and lists of commonly used Git commands. What is Git? πŸ€” Git gives each developer their own repository containing the entire history of changes. More formally Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Before you get started with Git, you need to understand some important terms:πŸ˜€ Commit:-  It   represents a specific point in your project's history. Checkout:-  Checkout command to switch between branches. Fetch:-  Fetch command copies and downloads all of a branch's files to your device.   Fork:-  A fork is a copy of a repository. Take a copy of the project for doing some changes without affecting your main project. Head:-  It represents the most current commit of the repository you're currently working in. The commit at the top of a branch is called th...

Popular posts from this blog

MySQL Multi Source Master Slave Replication using GTID

Setting Up PostgreSQL Logical Replication with Docker Compose

Regex 101: An Introduction to Regular Expressions for Developers