zoukankan      html  css  js  c++  java
  • github、maven、idea初始化一个项目

    1.在github上面创建一个项目

    2.将项目克隆到本地

    3.新建maven项目

     

    4.编辑.gitignore

    5.初次提交

    F:git_codegithub_test>git add .
    warning: LF will be replaced by CRLF in pom.xml.
    The file will have its original line endings in your working directory
    
    F:git_codegithub_test>git status
    On branch main
    Your branch is up to date with 'origin/main'.
    
    Changes to be committed:
      (use "git restore --staged <file>..." to unstage)
            modified:   .gitignore
            new file:   pom.xml
    
    
    F:git_codegithub_test>git commit -m "第一次初始化"
    [main 9c77134] 第一次初始化
     2 files changed, 13 insertions(+)
     create mode 100644 pom.xml
    
    F:git_codegithub_test>git push
    Enumerating objects: 6, done.
    Counting objects: 100% (6/6), done.
    Delta compression using up to 8 threads
    Compressing objects: 100% (4/4), done.
    Writing objects: 100% (4/4), 643 bytes | 643.00 KiB/s, done.
    Total 4 (delta 1), reused 0 (delta 0)
    remote: Resolving deltas: 100% (1/1), completed with 1 local object.
    To https://github.com/Eric-chenjy/github_test.git
       3cd1cc9..9c77134  main -> main
    
    F:git_codegithub_test>
    

      

  • 相关阅读:
    Date计算人活了多少天
    微信红包平均分法
    math practise
    Array sort
    static memory management
    java数组中的选择排序
    java数组中的冒泡排序
    数组联系2 模拟酒店系统
    数组练习1(模拟栈)
    二维数组
  • 原文地址:https://www.cnblogs.com/jycjy/p/6525644.html
Copyright © 2011-2022 走看看