什么是IntelliJ IDEA中的更改列表? [英] What is a changelist in IntelliJ IDEA?

查看:588
本文介绍了什么是IntelliJ IDEA中的更改列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IntelliJ IDEA中的变更列表是什么?它与提交类似吗?添加一个时,我有以下选项:

$ ul

  • 名称(文本字段)
  • 注释文本字段)

  • 使此更改列表处于活动状态(复选框)
  • 跟踪上下文(复选框)

    解决方案

    更改列表与Git一起使用时,是一种将索引(即已添加到git的文件)拆分为逻辑文件集的方法。请参阅在本地使用Git与IntelliJ IDEA



    这些修改表可以表示任何你想要的(任务,修复,合并等),但它们不是git commit。

    你可以提交一个或多个更改列表。





    当您将文件添加到Git索引时,IntelliJ IDEA会将您的文件添加到名为...default的默认更改列表。


    What is a changelist in IntelliJ IDEA? Is it similar to a commit? When adding one, I have the following options:

    • Name (text field)
    • Comment (text field)
    • Make this changelist active (checkbox)
    • Track context (checkbox)

    解决方案

    Changelists, when used with Git, is a way to split your index (i.e. the files you have added to git) into logical filesets. See Using Git Locally with IntelliJ IDEA

    Those changelists can represent whatever you want (a task, a fix, a merge etc), but they are not git commits.

    You can commit one or several changelists.

    When you add a file to the Git Index, IntelliJ IDEA adds your file to the default changelist, named... "default".

    这篇关于什么是IntelliJ IDEA中的更改列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆