Skip to main content

Posts

How to commit code changes from Java IDE eclipse to git hub or bitbucket

In This tutorials we will see how we can checkout code directly in java IDE make changes in code and push it back to git repository What we will learn in this tutorials ? 1. How to checkout repository from git hub or bitbucket to our IDE. 2. How to Import project from git hub repository to our eclipse or spring tool suit workspace. 3. How to create branch from java IDE like eclipse or Spring tool suit. 4. How to commit code from our IDE. Thanks for watching this video hope you liked the video and cleared your understanding. How to commit code changes from eclipse to github How to commit changes from Spring tool suit to github how to commit changes from sts to github how to commit changes from myeclipse to github how to import project from github to ide how to import project from github to myeclipse how to use bitbucket with any java ide How to import project directly from github to eclipse, import project from github to any of your IDE, import project from github to Spring tool suit...

How to import project directly from git hub or bitbucket to eclipse or Spring tool suit (STS)

 In This tutorials we will see how we can directly import any repository or project from git hub or bitbucket to our IDE What we will learn in this tutorials ? 1. How to checkout repository from git hub or bitbucket to our IDE. 2. How to Import project from git hub repository to our eclipse or spring tool suit workspace. 3. How to create branch from java IDE like eclipse or Spring tool suit. 4. How to commit code from our IDE Thanks for watching

How to sort Hashmap by its value or key - sort any map

Mostly asked coding question in product based company. concepts of maps and there implementation are being asked in many product based companies. What you will learn in this tutorials ? 1. How to sort map ? 2. How to sort Hash map ? 3. How to Sort map using its key ? 4. How to sort map using its value ? 5. Sort map using its key in ascending or descending order / alphabatically or alphabatically reverse order. These are the check your map concepts How to sort hashmap by it's key or value ?  what is hashmap? Hashmap is a data Structure to store value in for key and values Map<String, Integer> hmap = new HashMap<String,Integer> Steps to sort hashmap Solution in java:- github link:-  DataStructureAndAlgorithms/HashMapMain.java at master · pushpendragupta1993/DataStructureAndAlgorithms (github.com) Java code to sort hashmap by its value package com.training ; import java.util.ArrayList ; import java.util.Collections ; import java.util.Comparator ; import java.uti...

How to create a git repository in your local system and push it to github

In this tutorial we will learn how to create git branches from local and make changes and push that branch to github How to create branch in local git      git branch BranchName How to switch to other local branch      git check BranchName check all the branches in local git      git branches check the git status about your changes and the branch you are in      git status After making changes run the below command to change upstream branch & push changes to git hub     git push --set-upstream origin branch_name

How to create a new branch and works on that branch

In this git tutorial we will see how we can create branches in github, checkout the code in local and make changes also how to commit changes and push it to github * How to create branch in git hub * How to checkout specific branch in local system * How to switch to different branches in local git using command prompt * How to add changed files to git local repository * How to commit code changes to local repository  * How to push code changes from specific branch * How to set upstream while pushing changes to github Let's get started... 1. How to checkout code from specific branch      git clone -b BranchName giturl      if you want to create a new branch in your local use the below command     -> How to create branch in local git                   git branch BranchName     -> How to switch to other local branch           ...

How to checkout github repository in local and make changes

This blog is about checking out your code from git hub and how you make changes then add those changes back to git hub. Below are the steps to checkout the project/codes in local system. 1. How to Checkout project/code from git hub      git clone <git_repository_url>      The above code will always checkout the main branch (master branch)      Inorder to checkout any other branch use below command      git clone -b <branchName> <git_repository_url> 2. Make changes in your project      do changes as per your need & requirement 3. How to add new file in local git repository      git add . 4. commit your changes      git commit - m "your commit message" 5. Push your changes to github      git push -u origin master      if you are not using master branch then you need to use below command     git push --set-upstream ori...

How to push your project to github repository

These days everyone is using github as source code repository. Below is the list of commands to push your changes to github repository from local for the first time  Check out list of commands Idea behind this is to create local git repository & then push it to github repository 1. How to  initialize the local git repository.         git init 2. To a dd all the files to the local git repository      git add . 3. C heck the status of local repository.            git status 4. How to commit change to the local git repository.      git commit -m 'your message' 5. Connect local git repository to github.      git remote add origin 'github_repository_url' 6. Push your changes to github      git push -u origin master . Checkout the below video for complete understanding Thankyou for watching