Giter VIP home page Giter VIP logo

javase_sample3-createprojectwitheclipse's Introduction

JavaSE_Sample3-CreateProjectWithEclipse

To push to Github a Java Eclipse project follow these steps:

  1. Create a new repository in Github. Set the repository name and select a Public repository. Create a new Github repo

  2. IMPORTANT! Do not include a README.md file when creating the Github repository.

  3. Create a Github access token. Go to this page: https://github.com/settings/tokens

Click on the link: "Generate a personal access token" and follow these instructions: http://cse132.engineering.wustl.edu/files/githubEclipseAuth/githubEclipseAuth.html Create an access token for Github

Set access token name and select scope Set access token name and select scope

Set access token scope Set access token scope

Copy the access token Copy the access token

  1. Create in Eclipse a new Java project.

Create a new Java project in Eclipse: Create Java project in Eclipse

Set new project name and runtime version Set new project name and runtime version

Set Java settings Set Java settings

See the new Java project folder structure New Java project folder structure

Create new class in Java project Create new class in Java project

Set class name and set as public static void main Set class name and set as public static void main

See the new Java project default main code New Java project default main code

  1. Now let´s create the Git repo in the Eclipse Java project. Create in Eclipse the Git repo

  2. Configure Git repository Configure Git repository

  3. Set the repository name and the default branch name Set the repository name and the default branch name

  4. Finish to create the Git repo in Eclipse Finish to create the Git repo in Eclipse

  5. Git Commit... the Java project changes Git Commit  the Java project changes

  6. Press add all files including not selected... Press add all files including not selected

  7. Set the commit name Set the commit name

  8. Press the commit button Press the commit button

  9. Push Branch 'main' Push Branch 'main'

  10. Copy the Github repo name Copy the Github repo name

  11. Set the remote Github repository name and access username and password Set the remote Github repository name and access username and password

  12. Set remote branch name and confirgure upstream for push and pull Set remote branch name and confirgure upstream for push and pull

  13. Push confirmation Push confirmation

  14. Set remote access login user name and password Set remote access login user name and password

  15. Pushed message Pushed message

  16. Refresh Github repo after pushing from Eclipse Refresh Github repo after pushing from Eclipse

javase_sample3-createprojectwitheclipse's People

Contributors

luiscoco avatar

Watchers

 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.