挑战git

  • F5_646426
    了解作者
  • 58.9KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-12 12:14
    上传日期
Git挑战 有两个分支, add-echo和add-reverse 。 这项挑战的目标是使用git rebase将两个提交都提交给master。 完成后,应该没有合并提交或分支。 例如, master分支上的git log应该看起来像这样: /challenge-git master :high_voltage: git log 61a2c67 feat: add reverse route (David Guttman, 7 minutes ago) 2c2c5d6 feat: add echo route (David Guttman, 10 minutes ago) dcc4c0b docs: add more instructions (David Guttman, 11 minutes ago) ... 指示 如何尝试挑战: 在您的帐户中创建一个新的仓库并记下git url 克隆此仓库 解决挑战 将
challenge-git-add-echo.zip
  • challenge-git-add-echo
  • lib
  • models
  • things.js
    109B
  • authify.js
    1KB
  • server.js
    1.9KB
  • db.js
    609B
  • api.js
    897B
  • test
  • models.js
    458B
  • routes.js
    2.5KB
  • index.js
    71B
  • .env.example
    59B
  • config.js
    242B
  • README.md
    903B
  • .gitignore
    21B
  • index.js
    214B
  • package-lock.json
    268.9KB
  • package.json
    1.6KB
内容介绍
# Git Challenge There are two branches, `add-echo` and `add-reverse`. The goal of this challenge is to use `git rebase` to bring both commits onto master. When finished there should be no merge commits or branching. For example, `git log` on the `master` branch should look similar to this: ``` /challenge-git master ⚡ git log 61a2c67 feat: add reverse route (David Guttman, 7 minutes ago) 2c2c5d6 feat: add echo route (David Guttman, 10 minutes ago) dcc4c0b docs: add more instructions (David Guttman, 11 minutes ago) ... ``` ## Instructions How to attempt this challenge: 1) Create a new repo in your account and note the git url 2) Clone this repo 3) Solve the challenge 4) Set your new repo as the origin: `git remote set-url origin ${your repo url}` 5) Push your solution to your repo You must follow these steps for your solution to be accepted -- forks or other methods will not be considered.
评论
    相关推荐
    • Git
      Git命令 版本库又名仓库( repository )Git Bash 列出隐藏文件 ls -ah 显示文件内容 cat <yourfile> 仓库初始化 cd <your> git init 把文件添加到仓库 git add <yourfile> 把文件提交到仓库 git commit -m ...
    • GitExtensions
      GitExtensions,git,中文
    • 学习Git
      学习Git Ravi常用命令 git log --oneline -n5 Gerrit Confluence页面 > git diff # Compare "working tree" against the last (HEAD) commit on this branch. > git diff --cached # Compare "staged files"/"index...
    • Git
      #LearningGit我的实践Git的本地和远程命令
    • git
      git
    • git软件 
      Git软件 Git-2.18.0-64-bit软件.exe
    • git码云
      Git-2.7.2-32-bit_setup.1457942412.exe
    • git
      吉特
    • git
      git
    • Git
      吉特