How To Add Eclipse Project To GitHub | How to Commit, Push, Pull from Eclipse to GitHub

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 1,2 тис.

  • @RaghavPal
    @RaghavPal  2 роки тому +67

    **UPDATE**
    While connecting/pushing to github from any external platform/tool, you will NOW need to provide ACCESS TOKEN in place of password
    To generate Access Token
    1. Login to your GitHub account
    2. Verify your email address, if it hasn't been verified yet.
    3. In the upper-right corner of any page, click your profile photo, then click Settings.
    4. In the left sidebar, click Developer settings.
    5. In the left sidebar, click Personal access tokens.
    6. Click Generate new token.
    7. Give your token a descriptive name.
    8. To give your token an expiration, select the Expiration drop-down menu, then click a default or use the calendar picker
    9. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select repo.
    10. Click Generate token

    • @bestcricketbowling9947
      @bestcricketbowling9947 2 роки тому

      Is it compulsory from now on??

    • @RaghavPal
      @RaghavPal  2 роки тому +3

      I believe yes, as I tried this from Eclipse, Jenkins etc. users say the same

    • @SlothfulSage285
      @SlothfulSage285 2 роки тому

      Thanks for the update!

    • @bunty672744
      @bunty672744 2 роки тому

      What after generating token?

    • @prayagbhasin9192
      @prayagbhasin9192 2 роки тому

      I had generated token but every time when I commit i require to login again and I need that token again so from where I can get that token as mentioned in above steps if i follow same it shows token generated name but how to get that token ?

  • @sreedarshshaji5951
    @sreedarshshaji5951 5 років тому +6

    You are a true hero. This tutorial was minimal yet served the purpose really well. Kind of hard to find this kind of really informative videos.

    • @RaghavPal
      @RaghavPal  5 років тому +1

      I am so happy and humbled to see your message Sreedarsh. Thanks

  • @AdityaChaudhari2424
    @AdityaChaudhari2424 6 років тому +41

    Thanks a lot you are killing it .
    You are a good teacher thanks for exact steps and all details while explaining would like to learn more from you
    Thanks again .

    • @RaghavPal
      @RaghavPal  6 років тому +1

      Thanks for watching Aditya.

  • @QUID_PRO_QUO_BELIEVER
    @QUID_PRO_QUO_BELIEVER Рік тому

    Is se behatar video nhi ho sakta na hi koi complex baatein naa hi koi lengthy code na hi koi waste of time u r just awesome

    • @RaghavPal
      @RaghavPal  Рік тому

      Thanks a lot for the kind words Juhi

  • @rajagajendran6085
    @rajagajendran6085 5 років тому +4

    Finally I found the video I've been looking for months. Thanks !!

    • @RaghavPal
      @RaghavPal  5 років тому +1

      So happy to know this Raja

  • @moalnaim
    @moalnaim 2 роки тому +1

    Even though your video is 5 years old, u still are helping people by answering questions, you really are a legend.
    You really helped me with this. So thanks a lot😊

    • @RaghavPal
      @RaghavPal  2 роки тому

      Most weclome.. appreciate that!

  • @danieldinh9911
    @danieldinh9911 5 років тому +39

    thanks man, helped me alot. Learned something new today.

    • @RaghavPal
      @RaghavPal  5 років тому +2

      Happy to know this Daniel

    • @darlachandana9873
      @darlachandana9873 4 роки тому

      @@RaghavPal wat to do if git is not there open perspective

  • @crackinglad7644
    @crackinglad7644 4 роки тому +6

    thanks a lot, sir, for such a concise introduction to this whole github thing. Was struggling to dip my toe into these unknown waters. And I'm finally doing just that, thanks to you!

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      Glad to know it helped

  • @VeinitaAwazi
    @VeinitaAwazi Рік тому

    I was discouraged with a lot of commands for DevOps. But when I stumbled on your video it gave me so much clarity. You videos are so simplified and I fine them very easy to assimilate. Thanks so much and God bless you with continues wisdom

    • @RaghavPal
      @RaghavPal  Рік тому

      So happy and humbled to see your message Veinita. Thanks a lot

  • @Motelecomp
    @Motelecomp 4 роки тому +9

    Perfect, exactly what I was looking for. Thanks so much!

    • @RaghavPal
      @RaghavPal  4 роки тому

      Happy to know it helped Daniel

  • @cutealiens
    @cutealiens 6 років тому +2

    I know it's a small thing, but thank you so much for this. I'm in the process of applying to jobs after graduating and I never really learned how to do this in undergrad (surprisingly few team projects, and the ones we had we all shared our code outside of github) so being able to go back now and upload all my code from the last couple years for job applications is a lifesaver.

    • @RaghavPal
      @RaghavPal  6 років тому +1

      So glad to know it helped you, William.
      Best Wishes,
      Raghav

  • @RaghavPal
    @RaghavPal  5 років тому +7

    FREE online courses - automationstepbystep.com/online-courses/

  • @asashish905
    @asashish905 4 роки тому +4

    Thanks.. every time I forget something, I come here and catch up easily.

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      Always welcome Ashish

  • @jeodezman32
    @jeodezman32 5 років тому +3

    Thank you! The most helpful video on UA-cam about eclipse Git integration.

    • @RaghavPal
      @RaghavPal  5 років тому

      Glad to know that Erkc. thanks for watching.

  • @crb0121
    @crb0121 6 років тому

    After following user guides without success, watched your video and was able to immediately get Eclipse/GitHub working. Thank you! Look forward to watching your other videos.

  • @abhilashreddy5716
    @abhilashreddy5716 5 років тому +3

    Love You My Friend for this wonderful video..❤

  • @gauravgupta4113
    @gauravgupta4113 4 роки тому

    dude you just saved me from my supervisor in the first week of job... really useful and easy video. Thanks

    • @RaghavPal
      @RaghavPal  4 роки тому

      Glad I could help Gaurav

  • @deepanshu.sharma
    @deepanshu.sharma 6 років тому +3

    This helpled me alot. Thank you so much for sharing your knowledge.

    • @RaghavPal
      @RaghavPal  6 років тому

      You're welcome Deepanshu

  • @upakaranacharyyachowdhury1606
    @upakaranacharyyachowdhury1606 5 років тому +1

    Hadn't used github in a long time and almost forgot the basics steps in eclipse. Thanks a lot dada.

    • @RaghavPal
      @RaghavPal  5 років тому

      You're welcome Upakaran

  • @MK-jp3fi
    @MK-jp3fi 6 років тому +3

    Real beginning is at 1:30

  • @VeinitaAwazi
    @VeinitaAwazi Рік тому

    I was discouraged with a lot of commands for DevOps. But when I stumbled on your video it gave me so much clarity. You videos are so simplified and I fine them very easy to assimilate. Thanks so much and God bless you with continues wisdom❤

  • @schrodingerscat3912
    @schrodingerscat3912 6 років тому +7

    Thank you. I forgot how many steps it involved

  • @054_sunny_kumar_kushwaha4
    @054_sunny_kumar_kushwaha4 10 місяців тому

    Best video ever on UA-cam . Very Nice explanation step by step . Full Clearance 😍🥰

    • @RaghavPal
      @RaghavPal  10 місяців тому

      Glad it was helpful Sunny... humbled

  • @davidturner7192
    @davidturner7192 6 років тому +6

    Instruction still straightforward using Eclipse version Oxygen 3A. Thanks!

    • @RaghavPal
      @RaghavPal  6 років тому

      Glad to know this helped David

  • @nellainayagam7540
    @nellainayagam7540 2 роки тому +1

    Step by step explanation very well doing sir 👍🔥

  • @sandipvishwakarma8474
    @sandipvishwakarma8474 6 років тому +3

    pulling concept is not clear, good content, thanks you!

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Sandip, I will try to add more clarification

  • @prashantchauhan3321
    @prashantchauhan3321 4 роки тому +1

    I have been using git in our project for more than 6 months now, today I got to know how to configure it in eclipse. Its like a crash course of git.
    Thanks!

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      So happy to know this Vilakshan

  • @VonHeinz57
    @VonHeinz57 4 роки тому +2

    This is the fifth GitHub tutorial video I've watched and the first one that I felt was clear and concise! As a former math teacher, kudos to outlining the learning objectives in the start of the video. I was really glad to know specifically what was going to be taught in the video! Thanks!

    • @RaghavPal
      @RaghavPal  4 роки тому +1

      You're very welcome! Logan. Humbled

  • @TReXcuRRy
    @TReXcuRRy 4 роки тому +2

    Excellent video.
    Learned in 11min what seemed so complicated at school during an entire day. Thank you.

  • @vishwareddy6130
    @vishwareddy6130 2 роки тому

    Seriously as a fresher guy i waz stuck , u video made me so happy n resolved my ....👍😍

    • @RaghavPal
      @RaghavPal  2 роки тому

      glad to know this Vishwa

  • @НашажизньвоФлориде

    Thank you!Great explanation!It took me hours to figure it out by myself and just 10 minutes with you :)

  • @rafaczarnecki7161
    @rafaczarnecki7161 6 років тому

    Just perfect! There are many movies telling how to do that, but this one is pure info with perfect sound n cam work.
    10 min to get to know commit & push, git acc repos.

    • @RaghavPal
      @RaghavPal  6 років тому +1

      Rafał Thanks for your message

  • @nostalgicthunder4551
    @nostalgicthunder4551 4 роки тому +1

    what is pull used for? is it for if you put something in the git repository or someone has changed the code working on their computer and theyve pushed and committed?
    also how to delete the link between the two do I just delete the repository in Eclipse?
    Thanks for the video by the way, really helpful :)

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi, Pull will get the latest code from github repo

  • @thikimthuyle8734
    @thikimthuyle8734 3 роки тому

    Hi, When starting Eclipse , I get a dialog asking to provide login details for username and password. I have never seen this before. Where is it coming from? What does it do? 10:23

    • @RaghavPal
      @RaghavPal  3 роки тому

      Hi Kim, this is for adding your github credentials

  • @MaxAndHisBike
    @MaxAndHisBike 5 років тому +1

    Thanks for the tutorial! Github is pretty hard to understand at first and your tutorial was helping me a lot on my way to the initial commit.
    Greetings from Austria!

  • @haribisht5737
    @haribisht5737 5 років тому

    I was looking for just this kind of video on git. Short and crisp explanation. Thanks a lot Raghav.

  • @tswong1
    @tswong1 5 років тому +1

    Great video Raghav! I learned how to perform GIT push and pull using the command line.
    Question, if I pulled automation code from GIT with a different computer that I code it on, will there be any problems with running the automation code on different computers? I haven't tried it yet with your method, but have had trouble in the past using the command line. Just thought I as if you ever encountered this problem. If yes, how did you resolve? Thanks.

    • @RaghavPal
      @RaghavPal  5 років тому +1

      Hi, when you do a git pull, you will get exactly what is available in the repository at the time of pulling. Now next thing can be your other settings, setup, hardware etc, which is outside git. If you have a supporting system and settings, you should be able to run your project w/o any issues

  • @rdshg1505
    @rdshg1505 2 роки тому +1

    When providing my credentials when pushing, eclipse seems to enter in an endless loop of asking them, any clue in how to solve this?

    • @RaghavPal
      @RaghavPal  2 роки тому +1

      Hi, are you giving password or Token
      UPDATE****
      While connecting/pushing to github from any external platform/tool, you will NOW need to provide ACCESS TOKEN in place of password
      To generate Access Token
      1. Login to your GitHub account
      2. Verify your email address, if it hasn't been verified yet.
      3. In the upper-right corner of any page, click your profile photo, then click Settings.
      4. In the left sidebar, click Developer settings.
      5. In the left sidebar, click Personal access tokens.
      6. Click Generate new token.
      7. Give your token a descriptive name.
      8. To give your token an expiration, select the Expiration drop-down menu, then click a default or use the calendar picker
      9. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select repo.
      10. Click Generate token

  • @sachinkanchan5506
    @sachinkanchan5506 Рік тому

    Really saved too much complexity of un necessary things . Neat and clean way to make us understand got and GitHub

  • @dovratyaish8817
    @dovratyaish8817 4 роки тому

    I'm trying to follow steps in min 7:30 but on my eclipse I cant see the files inside the project, I see only the project name inside the Unstaged changes and no option to drag it to the staged changes. How can I see the files there?

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Dovrat, sorry for late reply. you should see the files that are changed since last commit. Pls tell me if this is resolved

    • @dovratyaish8817
      @dovratyaish8817 4 роки тому

      @@RaghavPal Thanks for replying! That's the thing, I see the entire project, but not the actual files.. this is the first time I try to push it to github so there were no previous commits

  • @sindiyarajan3440
    @sindiyarajan3440 4 роки тому

    Hey Raghav. I can't believe that you explained the whole concept in 11 minutes. Thank you so much. Very helpful.
    Quick question: There are two options for Pull. "Pull" and "Pull.." in Selenium. Could you please explain the difference? Or is there another tutorial for which you can share the link. It will be really helpful.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Sindiya, thanks for watching. Did you check what exactly Pull... says, there must be some complete word.

    • @sindiyarajan3440
      @sindiyarajan3440 4 роки тому

      Hey. Thank you for responding.
      There is no complete word. But I clicked on both the options and found the difference. With "Pull.." I get a window that asks me what kind of Pull should be performed.."Rebase", "Rebase interactively", "Merge". And with "Pull" (am guessing), it directly merges.

  • @DWRoscoeInMA
    @DWRoscoeInMA 3 роки тому

    Excellent! A pleasant bonus from your presentation was learning about the existence and usefulness of Windows Magnifier. My 92 year old mother will be happy to learn about that. Thank you!

  • @thedanielhicks
    @thedanielhicks 4 роки тому +1

    Thanks for this easy to follow steps! For step 4 I did not have the git repositories perspective, but git perspective worked too.

  • @ramavathmahendar681
    @ramavathmahendar681 3 роки тому +1

    Very good explaination, explained step by step process i think no one replace your explaination skills please continue , by watching your video any one can(New to github) can learn easily , finally usefull video thank you for you video..!

    • @RaghavPal
      @RaghavPal  3 роки тому +1

      Thanks for the kind words Ramavath. I will

  • @ravikishore8091
    @ravikishore8091 4 роки тому

    Thanks Raghav for a clear Explanation by mentioning all the required inputs.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Glad it was helpful Ravi

  • @susruths472
    @susruths472 3 роки тому

    Hi Raghav, what is the difference between Push and Pull options?
    I think the Pull option prominence was not covered here.

    • @RaghavPal
      @RaghavPal  3 роки тому

      I will add more sessions on this Susruth

  • @learn2compete981
    @learn2compete981 6 років тому +1

    Thanks Bro! this is really helpful. I have just one suggestion and please don't take it otherwise. when I was watching your video, i felt that you spoke little faster at some point of time. so please take your time and don't worry if you take some more mins for your video after your helping all of us.So we don't mind in that too.

  • @robertb5357
    @robertb5357 Рік тому

    Is it safe to assume that one must first create the repository in Github? When I greate a new Git repository in Eclipse, share the project with the new Git repository and do the initial commit to Github, it doesnt work( i.e. the repository is not autmatically created in Guthub)?

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi Robert
      Yes, it is safe to assume that you must first create the repository in GitHub. When you create a new Git repository in Eclipse, it does not create the repository on GitHub. It simply creates a local repository on your computer. You can then push the local repository to GitHub.
      To push the local repository to GitHub, follow these steps:
      1. In Eclipse, right-click on the project and select Team, Share Project.
      2. In the Share Project dialog box, select Git and click Next.
      3. In the Configure Git Repository dialog box, select the checkbox next to "Create repository on remote server".
      4. In the Remote Repository URL field, enter the URL of the GitHub repository.
      5. Click Finish.
      Eclipse will now push the local repository to GitHub. You can then view the repository on GitHub by going to the GitHub website and logging in to your account.
      Here are some additional tips for pushing a local repository to GitHub:
      * If you are using a private GitHub repository, you will need to enter your username and password when prompted.
      * If you are using a public GitHub repository, you can skip this step.
      * If you are pushing a large repository, it may take some time for the push to complete.
      If you are still having trouble pushing your local repository to GitHub, you can try the following:
      1. Make sure that you have entered the correct URL for the GitHub repository.
      2. Make sure that you are logged in to GitHub.
      3. Make sure that you have the correct permissions to push to the repository.
      4. Try restarting Eclipse.
      5. Try restarting your computer.

    • @robertb5357
      @robertb5357 Рік тому

      @@RaghavPal Thank you so much for your step by step instruction. I tried for hours to push my local repository to Github, without success.😀

  • @RadhamaniRamadoss
    @RadhamaniRamadoss 5 років тому

    Thankyou for the wonderful explanation..I dont find where pull is used in your video.Could you please clarify?

    • @RaghavPal
      @RaghavPal  5 років тому

      Thanks for watching Radha, Pull is to get a repo or changes from remote repository

  • @ronthedon212
    @ronthedon212 5 років тому

    You have a very kind soul.
    i hate eclipse so much but you gave me a moment of clarity with it. Thank you man

  • @sumithra576
    @sumithra576 4 роки тому

    Hello Raghav
    This video helped me a lot trying to connect my ide to my GitHub account and vice versa. The way you explained makes it so simple. Thanks a ton and good luck.

    • @RaghavPal
      @RaghavPal  4 роки тому

      You are most welcome Sumithra

  • @kumarshivamray3741
    @kumarshivamray3741 5 років тому

    Perfect, straight forward and simple video, I have been looking on this topic. Well, I was stuck on this from the last two months. Thanks, bro.

    • @RaghavPal
      @RaghavPal  5 років тому

      You're welcome Shivam.

  • @scottza
    @scottza 4 роки тому

    Glorious, was having lots of problems with import > git. This walkthrough worked a charm. Appreciate you taking the time to make this video :)

  • @hazimabdoh6303
    @hazimabdoh6303 2 роки тому

    hellow MR RAGHAF kindly, just as a note on step 4 : Goto Perspective - Git Repositories( and click on Add Git Repo). is the correct to say (clone a git repository and add the clone to this view) ?? thanks alot.

  • @bianka2846
    @bianka2846 4 роки тому +1

    Finally, i understand how it works! Thank you. Very helpful!

  • @maankhurana5814
    @maankhurana5814 2 роки тому

    One question whatever we commit here that will go to which branch ?? And what if i want to commit and push to certain branch then ?

    • @RaghavPal
      @RaghavPal  2 роки тому

      The branch that is checked out, Generally the master branch in case you have not created and checked out any other branch

  • @prayagbhasin9192
    @prayagbhasin9192 2 роки тому

    We have to install git before doing this or without installing git it can be done as shown in vedio?

    • @RaghavPal
      @RaghavPal  2 роки тому

      Hi Prayag, it using Git Plugin within Eclipse, can be done without installing Git on the system

  • @AMARANATH-gz1zr
    @AMARANATH-gz1zr 9 місяців тому

    Hi Raghav, 1. when i click on "Commit and Push" button in Eclipse. User credentials pop up occurring frequently, even after the entering the user and Password fields. How to overcome it?

    • @RaghavPal
      @RaghavPal  9 місяців тому +1

      Amarnath
      When you encounter frequent user credential pop-ups while clicking the "Commit and Push" button in Eclipse, there are a few steps you can take to address this issue:
      1. Change the HTTP Client:
      - Go to Window → Preferences → Team → Git.
      - Select the HTTP client option and change it from Apache HTTP to Java Built-in HTTP¹.
      - This switch might help resolve the repeated authentication requests.
      2. Generate a Personal Access Token (PAT):
      - If you're using Visual Studio Team Services (VSTS) or Azure DevOps, consider creating a Personal Access Token.
      - Visit your VSTS or Azure DevOps account settings and generate a new token.
      - Use this token as your password when prompted during authentication¹.
      3. Check Your Git Server Configuration:
      - Ensure that your Git server is correctly set up with your username and password.
      - Confirm that the authentication and authorization solution is configured appropriately.
      - If you're using TFS plugin for Eclipse, make sure it's set up correctly¹.
      4. Use Commit Dialog Instead of Staging View:
      - Instead of using the Git staging view for committing, try using the commit dialog.
      - The "Commit and Push" button might behave differently in the commit dialog².
      Remember that these solutions are based on common scenarios, and your specific environment might require additional adjustments. If the issue persists, consider seeking further assistance from your team or community forums.

  • @chinnamastans1302
    @chinnamastans1302 3 роки тому

    Thanks you , This what exactly a real developer required. Keep Posting more videos which will helpful for us.

  • @prashantjoshi1093
    @prashantjoshi1093 4 роки тому

    Thanks, I want to know if I want to take update entire workspace or src or webContent , Please upload the video regarding

  • @homezonebenny
    @homezonebenny 5 років тому +1

    Is it possible to only commit specific file types like:
    .xml | .xsd | .xsl | .ps1 | .txt | .bat | .cmd | .reg | .config | .cfg | .ini | .old | .js
    and so on?
    So that it will not commit .png files and all large stuff I don't need in the repository?!

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Benjamin, you can use .gitignore file to add resources, file, folders that you do not want to commit.

    • @homezonebenny
      @homezonebenny 5 років тому

      @@RaghavPal thanks for the answer.
      I found that command online but not sure where to enter it in Eclipse.
      I'll Google it. 👍🏻

  • @ashfaqmohammad1086
    @ashfaqmohammad1086 6 років тому

    Very simply and effectively explained and achieved the objective. Keep up the good work.

    • @RaghavPal
      @RaghavPal  6 років тому

      Thanks for watching Ashfaq

  • @nagasekhar2689
    @nagasekhar2689 3 роки тому

    Great sir,In a short video you explained in a simple manner.

    • @RaghavPal
      @RaghavPal  3 роки тому

      Thanks for liking Naga

  • @jitchakraborty9419
    @jitchakraborty9419 3 роки тому

    Explained very well which topics are covered but unfortunately no pull request is shown although in the title Pull mentioned.

    • @RaghavPal
      @RaghavPal  3 роки тому

      I will check and create a new video Jit

  • @MemesofChennai
    @MemesofChennai 3 роки тому

    Hey you are great ....your way of teaching is simply awsome...I wish you to reach great heights through learning and helping others learn....

  • @jitendrapatil99
    @jitendrapatil99 5 років тому +1

    Appreciate your efforts, however one thing needs to be considered while teaching is that, you know all Git Eclipse and all included in it, but the viewers or the learners don’t, that’s why they’re here. Therefore you should explain the purpose of every step. Ex, at the start of the video you should have also introduced about what is Git, Eclipse and why both are used together, why cloning is done and all other terms. Anyways just a suggestion.

    • @RaghavPal
      @RaghavPal  5 років тому +1

      Hi Jitendra, appreciate your feedback. This video is part of this playlist - ua-cam.com/play/PLhW3qG5bs-L8OlICbNX9u4MZ3rAt5c5GG.html

  • @manilafolder283
    @manilafolder283 Рік тому

    This was very helpful since i keep forgetting how to use github with eclipse! A problem I am having is having all the files show up in the package explorer. I tried pulling, but nothing happens. All the files are only shown in the Git Repo tab instead

    • @RaghavPal
      @RaghavPal  Рік тому +1

      Hi
      If you are working with a Git repository in Eclipse, but you are not seeing all the files in the Package Explorer, it may be because you have not imported them into the workspace.
      To import the files into your workspace, you can follow these steps:
      Right-click on the Project Explorer or Package Explorer window.
      Select "Import..." from the context menu.
      In the Import wizard, expand the "General" folder and select "Existing Projects into Workspace".
      Click "Next".
      In the "Select root directory" field, browse to the location of the Git repository on your local file system.
      Check the box next to the project(s) you want to import.
      Click "Finish".
      This should import the files into your workspace and make them visible in the Package Explorer. If you still don't see them, try refreshing the Package Explorer by right-clicking on it and selecting "Refresh". If you still have issues, it may be helpful to check the project's build path settings to ensure all necessary files are included.

  • @uhsay1986
    @uhsay1986 7 років тому

    This is what exactly i was looking for and could not find in any other videos. Thanks a ton for this video.

    • @uhsay1986
      @uhsay1986 7 років тому

      I was able to push my code into GITHUB , super happy :)

    • @RaghavPal
      @RaghavPal  7 років тому

      Glad to know this Yash.

  • @shibaramrout7873
    @shibaramrout7873 5 років тому +1

    Really it is very helpful. I have gone long session to understand it but from eclipse it is too easy. Very Good video

    • @RaghavPal
      @RaghavPal  5 років тому

      Happy to know this Shibaram

  • @rachitjain5598
    @rachitjain5598 7 років тому

    Thanks for sharing your knowledge.. Can you tell.. how much videos you will create more to complete this GitHub series (approx)??

    • @RaghavPal
      @RaghavPal  7 років тому +1

      Hi Rachit, if you specifically need git and github here is the playlist - ua-cam.com/channels/Tt7pyY-o0eltq14glaG5dg.htmlplaylists

    • @rachitjain5598
      @rachitjain5598 7 років тому +1

      Thanks :)

  • @TheBorpol
    @TheBorpol 5 років тому

    Hey mate! What basics or foundations do I need to learn automation?So far, I know the foundations of Java

    • @RaghavPal
      @RaghavPal  5 років тому +1

      Hi Fernando, knowing java will be a good foundation. I suggest that you can now start with Automation and select tools/skills based on your need. Any new skill you need can be learnt along.

    • @TheBorpol
      @TheBorpol 5 років тому +1

      Automation Step by Step - Raghav Pal amazing! Thank you very much for the advice!

  • @christophertomlinson5623
    @christophertomlinson5623 4 роки тому

    Hi Raghav,
    Thanks for this, it was excellent. Using github for the first time myself and your video was great.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Glad it helped Christopher

  • @rajrk5698
    @rajrk5698 4 роки тому

    Very nicely explained. Thank you. Actually video didn't cover Pull topic. Covers only clone, commit & push. Please share me if any video covers about it and the other options in eclipse->git repository other than cloning.

  • @anusathiya8887
    @anusathiya8887 4 роки тому

    Thanks, Raghav! Followed step by step and uploaded my project to the git. Well explained!

  • @harishvitta7778
    @harishvitta7778 5 років тому +1

    Extremely helpful. That too in a short and crisp way. Awesome!!!

    • @RaghavPal
      @RaghavPal  5 років тому

      Glad to know this Harish

  • @lavanyan6175
    @lavanyan6175 Рік тому

    I am trying to add eclipse project to GitHub from my remote desktop as all my development work is done on the remote desktop. Can this be done? When I followed the steps in the video, it is not authenticating using my GitHub credentials.

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi Lavanya,
      Yes, you can add your Eclipse project to GitHub from your remote desktop. Here are the steps you can follow:
      Open your Eclipse project and navigate to the directory where your project is saved.
      Right-click on your project and select "Team" -> "Share Project".
      In the "Share Project" window, select "Git" and click "Next".
      Select the project root directory and click "Create Repository".
      In the "Create Git Repository" window, select the "Use or create repository in parent folder of project" option and click "Finish".
      Once the repository is created, you can commit your changes by right-clicking on your project and selecting "Team" -> "Commit".
      Enter your commit message and click "Commit and Push".
      In the "Push to Upstream" window, select the remote branch you want to push to and click "Next".
      Enter your GitHub credentials when prompted and click "Finish".
      If you are having trouble authenticating with your GitHub credentials, make sure you have configured your Git settings with your username and email address. You can do this in the command line by running the following commands:
      git config --global user.name "Your Name"
      git config --global user.email "youremail@example.com"
      Once you have configured your Git settings, try authenticating again with your GitHub credentials. If you are still having trouble, make sure you have the correct username and password and that your internet connection is working properly.

  • @akdk8835
    @akdk8835 6 років тому

    I am a bit confused.. We develop script on eclipse and integrate eclipse with jenkins. Then give github details on jenkins. Then jenkins and github talks to each other to execute test scripts on scheduled basis. Now where lies the chrome driver and jar files required to run the browser ? Where all the tests run in real time sir ? In company's computer ? How all these things really happens inside a company ? Just for practice purposes we use our local computer. Please clarify on this sir. Thank u

    • @RaghavPal
      @RaghavPal  6 років тому +1

      Hi, If we talk about project enterprise level, then here is a typical workflow.
      1. Developers create code and push it on a shared repository using version control systems like git
      Here we can have a dev job on Jenkins that compiles and builds the dev project on each commit.
      2. After the final commit and test its pushed and a Jenkins job can be used to deploy it on a server (test environment)
      3. On successful deployment, this triggers the testing job that runs some automated tests to verify the build (BVT - Build verification test)
      4. On success, this triggers another regression or complete test suite job
      5. The verified build then goes into production.

  • @koredeakingbemi3826
    @koredeakingbemi3826 5 років тому

    Thanks, l successfully push my project from eclipse to github repository but the new updated GitHub can’t allowed me to send my project to my manager. Please do you have idea on how to do it?
    I mean to send the project via email. They just updated the GitHub repository because the old system allowed to send project to email without stress. I have been trying to do this with many instructions and guidelines but it won’t work.
    Thanks

    • @RaghavPal
      @RaghavPal  5 років тому +1

      Hi Korede, What exactly you need, sharing a project through github should be as simple as sharing the github repository url

    • @koredeakingbemi3826
      @koredeakingbemi3826 5 років тому

      Automation Step by Step - Raghav Pal Thanks friend. I have gotten the solution

    • @koredeakingbemi3826
      @koredeakingbemi3826 5 років тому

      Automation Step by Step - Raghav Pal Do you have selenium live projects?
      That’s on healthcare, e-commerce, insurance, logistic, telecoms and co?

  • @caseymccullough
    @caseymccullough 4 роки тому

    Raghav, thanks for a great video--I'm a teacher and I'm very impressed. I do have a problem that I don't believe was addressed in the video. When I Commit and Push I get master->master [rejected - non-fast-forward]. If I commit, it seems to work but no new commits are reflected on the github site. Thoughts? Thanks!

    • @RaghavPal
      @RaghavPal  4 роки тому

      Hi Casey, looks like the local branch is not in sync with the remote. You can try to do a git pull first and then do a push.
      You may even have to do a rebase, but do that with caution. Just to understand git rebase, watch this - ua-cam.com/video/KWAZl2QHC44/v-deo.html
      This can help - stackoverflow.com/questions/11696295/rejected-master-master-non-fast-forward#:~:text=%5Brejected%5D%20master%20%2D%3E%20master,pull')%20before%20pushing%20again.

    • @caseymccullough
      @caseymccullough 4 роки тому

      @@RaghavPal Thanks Raghav. I will try this.

  • @burtenplays
    @burtenplays Рік тому

    Old video but thanks. I swear I made dozens of github repositories for different projects over the years and I still forget how to do this more than anything else.

  • @adamm9706
    @adamm9706 6 років тому +1

    Did everything in 11min true time saver! thank for such a great video!

    • @RaghavPal
      @RaghavPal  6 років тому

      Thanks for watching Adam

  • @rakeshkumarpanda1693
    @rakeshkumarpanda1693 6 років тому

    A great video with nice explanations. But have one doubt that is how to resolve the conflicts in eclipse itself for Push and Pull. It would be great if such information will be shared for eclipse itself

    • @RaghavPal
      @RaghavPal  6 років тому

      Hi Rakesh, thanks for your message and feedback . There are some useful links, I will also try to add session on this
      stackoverflow.com/questions/21559119/how-to-resolve-conflicts-in-egit
      help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-113b.htm

  • @srinivasbitla7226
    @srinivasbitla7226 3 роки тому

    Very nice explanation. Git has always been a scary but useful tech with a lot of things happening behind the scenes. Your explanation made it look simple. Thank you very much.

    • @RaghavPal
      @RaghavPal  3 роки тому

      You're very welcome Srinivas

  • @sauravpokhrel8873
    @sauravpokhrel8873 Рік тому

    what happens if the project already exists in the Git hub and we as a developer can use the project and push codes to it.

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi Saurav
      If the project already exists in GitHub and you want to use it in Eclipse, you can clone the repository from GitHub. To do this, follow these steps:
      1. Open Eclipse and go to **File** > **Import**.
      2. In the Import dialog, select **Git** > **Projects from Git**.
      3. Click **Next**.
      4. In the **Clone URI** field, enter the URL of the GitHub repository.
      5. Click **Next**.
      6. In the **Select a Repository Location** dialog, select the location where you want to clone the repository.
      7. Click **Next**.
      8. In the **Select a Workspace** dialog, select the workspace where you want to open the project.
      9. Click **Finish**.
      Eclipse will clone the repository from GitHub and open the project in your workspace.
      Once the project is open in Eclipse, you can push your code changes to GitHub by following these steps:
      1. In Eclipse, right-click on the project and select **Team** > **Push**.
      2. In the **Push** dialog, select the branch that you want to push your changes to.
      3. Click **Push**.
      Eclipse will push your code changes to GitHub.
      Here are some things to keep in mind when working with a project that already exists in GitHub:
      * Make sure that you have the correct permissions to push code to the repository.
      * If you are making major changes to the project, it is a good idea to create a new branch so that you can keep your changes separate from the main branch.
      * Once you have pushed your code changes to GitHub, you should test the project to make sure that it works as expected

  • @iamme9250
    @iamme9250 7 років тому

    Before i found this video, I have first installed Egit on my Eclipse Oxygen. I follow your steps and when I'm about to configure git repository, an error pops up. Well, I resolved that by uninstalling Egit in the Eclipse Marketplace. Now, in the Step where I'm about to commit, I can't drag files from UNSTAGED CHANGES to STAGED CHANGES. What happened ?

    • @RaghavPal
      @RaghavPal  7 років тому

      Not sure why are you facing this. Did you try restarting.

  • @laughoutmeow
    @laughoutmeow 3 роки тому

    when I right click > Team > I only get 2 options: 1) apply patch 2) share project. I do not have the same options you do...such as commmit. Please help

    • @RaghavPal
      @RaghavPal  3 роки тому

      do you have any git plugin added in eclipse pls check

  • @LizaSachdev
    @LizaSachdev 5 років тому

    Very nice and straightforward video !! That’s what we need .try to explain the screen where you just clicked ok when it showed master option

    • @RaghavPal
      @RaghavPal  5 років тому

      Thanks for watching Liza, I will try do another detailed session

  • @sharandsouza9898
    @sharandsouza9898 3 роки тому

    Hello Raghav,
    I am not able to drag and drop my project from Unstaged changes area to Staged Changes area
    Please help me.
    I can also see some options above the Unstages changes area
    Add selected files to index

    • @RaghavPal
      @RaghavPal  3 роки тому +1

      Hi Sharan, I am not completely sure of the issue, I will suggest to try the exact steps on a new dummy project and check. Can also take some online help

    • @sharandsouza9898
      @sharandsouza9898 3 роки тому

      @@RaghavPal
      Hi Raghav,
      I created another Project and tried the steps. It worked this time.
      Been at it for an hour now.
      Thank you Raghav for your prompt reply. You are a Gem!!.

  • @swatikushwaha7597
    @swatikushwaha7597 Рік тому

    Great tutorial as always... Thanks Raghav... Need more videos on Java series.

    • @RaghavPal
      @RaghavPal  Рік тому

      Can check here - automationstepbystep.com/
      thanks for watching

  • @purvidholakia3570
    @purvidholakia3570 3 роки тому

    Hi Raghav, I am not able to push my code through Eclipse because User & System setting tabs are are missing in Git Configuration window but I am trying to push my code through Command window and I followed the steps/commands "Git init, Git add Remote origin , Git Status, Gid add.,Git status, Git commit -m "test", Git push origin master". I created an SSH public key with the help of Putty, I shared that key while pushing the code to my Leader's repository, is it safe to share the public key? Please help as I have to push 7 more projects , do I have to create 7 times a public key? If you need, send some screenshots. Your help will be appreciated.

    • @RaghavPal
      @RaghavPal  3 роки тому

      Hi Purvi,
      Not sure why are you not able to follow the steps. Can you try with a diff ver of eclipse and check if the options are different

  • @prateekkumar2304
    @prateekkumar2304 3 роки тому

    Hi, I'm getting below error when I tried to enter my valid github credential. I'm following your steps exactly.
    Error: Can't connect to any URI (not authorized)
    Can you please help me to find out issue here?

    • @RaghavPal
      @RaghavPal  3 роки тому

      Hi Prateek, can try using token stackoverflow.com/questions/32527522/how-to-github-two-factor-authentication-with-eclipse/32528440

  • @dummymail9862
    @dummymail9862 5 років тому

    How is the project added to existing git repository without creating a new repository.
    I am following the same process as shown by you but the project is not getting uploaded in github.

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi, here I am creating a new repo and then adding the project to it. Are you facing any errors

  • @nukulanand
    @nukulanand 4 роки тому

    A very good series of tutorial Raghav..!! Much appreciated..In this last video,I think pull request and Fork from Gitlab portion is missing

    • @RaghavPal
      @RaghavPal  4 роки тому

      Will. plan a session on this Nakul

  • @rajrk5698
    @rajrk5698 4 роки тому

    if github is having maven project, even then we have to create normal java project in eclipse(after cloning)? Or is there any different way ?

    • @RaghavPal
      @RaghavPal  4 роки тому

      You can do in a maven project itself Raj

    • @rajrk5698
      @rajrk5698 4 роки тому

      @@RaghavPal Actually I forget how I did it for first time. I removed the project in eclipse and also removed local repository. (just want to rewind the process) Now after clone the repository to local and creating new maven project it is asking for group-id artifact-id. For sure I didn't given/entered all those information earlier during project creation.

    • @RaghavPal
      @RaghavPal  4 роки тому

      Np, you can give now. You can check ua-cam.com/video/nCJoia7wosc/v-deo.html

  • @SuzSV650
    @SuzSV650 3 роки тому

    What if i did not create a project but i want to connect to an already created project? This example is when you create a project

    • @RaghavPal
      @RaghavPal  3 роки тому

      You have options to do that, can also check some online examples

  • @hanifahboda3764
    @hanifahboda3764 3 роки тому

    are we obliged to drag and drop unstaged changes to changes changes? thank you

    • @RaghavPal
      @RaghavPal  3 роки тому +1

      You can add the ones that you need to commit and push to the repository

  • @brijkumar8207
    @brijkumar8207 Рік тому

    Hello
    At 8:06 my username and password not working. I'm logged in on github

    • @RaghavPal
      @RaghavPal  Рік тому

      Hi Brij,
      While connecting/pushing to github from any external platform/tool, you will NOW need to provide ACCESS TOKEN in place of password
      To generate Access Token
      1. Login to your GitHub account
      2. Verify your email address, if it hasn't been verified yet.
      3. In the upper-right corner of any page, click your profile photo, then click Settings.
      4. In the left sidebar, click Developer settings.
      5. In the left sidebar, click Personal access tokens.
      6. Click Generate new token.
      7. Give your token a descriptive name.
      8. To give your token an expiration, select the Expiration drop-down menu, then click a default or use the calendar picker
      9. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select repo.
      10. Click Generate token

  • @jonah8715
    @jonah8715 3 роки тому

    Thank you so much! Couldn't find any other guides online to help!

    • @RaghavPal
      @RaghavPal  3 роки тому

      Glad to know this helped Jonah

  • @abiramisivakumar2745
    @abiramisivakumar2745 9 місяців тому

    Sir I had a doubt on it...I try to push repository but the problem occurred that the alert box told not authorized what can I do next

    • @RaghavPal
      @RaghavPal  9 місяців тому

      Abirami
      The "not authorized" error you're encountering when trying to push your repository from Eclipse to GitHub is a common issue that usually relates to authentication problems. Here are some steps you can take to resolve this:
      1. Check Your Credentials: Make sure you are entering the correct username and password for your GitHub account.
      2. Use Personal Access Token: If you have two-factor authentication enabled on GitHub, you will need to use a personal access token instead of your password when pushing from Eclipse
      3. Update Eclipse and EGit: Ensure that you have the latest versions of Eclipse and the EGit plugin installed, as updates often include bug fixes for known issues.
      4. Clear Stored Credentials: In Eclipse, go to `Window > Preferences > General > Security > Secure Storage` and clear the stored credentials. Then try pushing again and enter your credentials when prompted
      5. Check SSH Key: If you are using SSH to push to GitHub, ensure that your SSH key is added to your GitHub account and that Eclipse is configured to use the correct key
      6. Configure Git in Eclipse: Make sure that your Git configuration in Eclipse is set up correctly. This includes setting the remote repository URL and ensuring that the push and fetch configurations are correct
      7. Check Network Connections: Sometimes, network issues can cause authentication problems. Verify that your internet connection is stable and that there are no firewalls or proxies blocking the connection
      8. Consult GitHub Documentation: GitHub provides detailed documentation on how to troubleshoot issues related to authentication and pushing to repositories
      If you've tried these steps and are still facing issues, you might want to consider pushing from the command line to see if the problem is specific to Eclipse. This can also help you determine if the issue is with your local setup or with GitHub's authentication process. Remember to keep your credentials secure throughout this process..

    • @abiramisivakumar2745
      @abiramisivakumar2745 9 місяців тому

      @@RaghavPal thank you so much sir clarify my doubt 🥰🥰

  • @yuvraj4870
    @yuvraj4870 5 років тому

    How do we update the entire folder structure again to the repository. I deleted some files in my src/main/test folder and when I push this to upstream the folder in the git repo is not getting updated.

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Yuvraj, Have to tried to stage & commit first before pushing.

    • @yuvraj4870
      @yuvraj4870 5 років тому

      @@RaghavPal Yes but it works if you only make changes to the file. But if you delete a certain file in your folder and stage and commit that folder then the folder on the git is not getting updated. the git folder still shows the older files along with newly updated files.

    • @RaghavPal
      @RaghavPal  5 років тому

      Hi Yuvraj, have you used git rm file.txt command. This will help
      stackoverflow.com/questions/6313126/how-to-remove-a-directory-from-git-repository/6313301#6313301

    • @yuvraj4870
      @yuvraj4870 5 років тому

      @@RaghavPal Thanks for the reply. I don't want to remove the directory, I just want to update it with deleted file. E.g. I have folder called "com" - file1.java , file2.java, now if i delete file1.java from my eclipse and make changes to file2.java and commit push the file2 and the com folder then on git I can see file2.java getting updated but file1.java is still there. I have been trying to figure out. there must be some option in eclipse. I think i need to set up a dummy project and keep trying endlessly with various options available in the eclipse. Will share If i find the answer to it.

    • @RaghavPal
      @RaghavPal  5 років тому

      Okay, got you, Pls see if this helps - stackoverflow.com/questions/8241509/eclipse-git-plugin-remove-file-from-repo-without-deleting-local