Move to Another Changelist

简介: Move to Another Changelist 将选中的文件转移到其他的 Change list 中。 Change list 是一个重要的概念,这里需要进行重点说明。很多时候,我们开发一个项目同时并发的任务可能有很多,每个任务涉及到的文件可能都是基于业务来讲的。

 

Move to Another Changelist 将选中的文件转移到其他的 Change list 中。 Change list 是一个重要的概念,这里需要进行重点说明。很多时候,我们开发一个项目同时并发的任务可能有很多,每个任务涉及到的文件可能都是基于业务来讲的。 所以就会存在一个这样的情况:我改了 30 个文件,其中 15 个文件是属于订单问题,剩下 15 个是会员问题,那我希望提交代码的时候是根据业务区分这些文件的, 这样我填写 Commit Message 是好描述的,同时在文件多的情况下,我也好区分这些要提交的文件业务模块。 所以我一般会把属于订单的 15 个文件转移到其他的 Change list中,先把专注点集中在 15 个会员问题的文件,先提交会员问题的 Change list,然后在提交订单会员的 Change list。 我个人还有一种用法是把一些文件暂时不提交的文件转移到一个我指定的 Change list,等后面我觉得有必要提交了,再做提交操作,这样这些文件就不会干扰我当前修改的文件提交。 总结下 Change list 的功能就是为了让你更好地管理你的版本控制文件,让你的专注点得到更好的集中,从而提供效率。

 将选中的文件转移到其他的 Change list 中。
Change list 是一个重要的概念,这里需要进行重点说明。很多时候,我们开发一个项目同时并发的任务可能有很多,每个任务涉及到的文件可能都是基于业务来讲的。
所以就会存在一个这样的情况:我改了 30 个文件,其中 15 个文件是属于订单问题,剩下 15 个是会员问题,那我希望提交代码的时候是根据业务区分这些文件的, 这样我填写 Commit Message 是好描述的,同时在文件多的情况下,
我也好区分这些要提交的文件业务模块。

所以我一般会把属于订单的 15 个文件转移到其他的 Change list中,先把专注点集中在 15 个会员问题的文件,先提交会员问题的 Change list,然后在提交订单会员的 Change list。
我个人还有一种用法是把一些文件暂时不提交的文件转移到一个我指定的 Change list,等后面我觉得有必要提交了,再做提交操作,这样这些文件就不会干扰我当前修改的文件提交。


总结下 Change list 的功能就是为了让你更好地管理你的版本控制文件,让你的专注点得到更好的集中,从而提供效率。

 http://wiki.jikexueyuan.com/project/intellij-idea-tutorial/vcs-introduce.html

 

 

Changelist

A changelist is a set of changes in files that represents a logical change in source code. The changes specified in a changelist are not stored in the repository until committed (pushed).

Any changes made to the source files, are automatically included in the active changelist. Initially, the Default changelist is active, but you can make any other changelist active. The active changelist is displayed on top of the Version Control tool window, with the name being highlighted in bold font.

In addition to the Default changelist, you can create new changelists, delete existing ones (except for the Default changelist), and move files between changelists.

All modified, deleted, unversioned and other files are managed in the Version Control tool window. From this window you can:

  • Commit (push) changelists.
  • Create new changelists (if you want to keep an eye on certain files and changes).
  • Remove existing changelists and set the default changelists.
  • Rollback modified files in changelists.
  • Add the unversioned files and directories to the version control.
  • Move files between changelists.
  • Show differences on selected files.
  • Refresh the list of VCS changes.
  • Jump to the source code from within a changelist.
  • Shelve (stash) and unshelve (unstash) changes.

 

https://www.jetbrains.com/help/idea/2016.2/changelist.html

 

相关文章
|
6月前
|
算法 C++
【C++11算法】move和move_backward
【C++11算法】move和move_backward
|
8月前
|
数据库
MOVE
MOVE
62 0
|
JavaScript
difference between view exit and view destroy
Created by Wang, Jerry, last modified on Nov 08, 2015
difference between view exit and view destroy
#748 – 获得按下时对应位置点的大小(Getting the Size of a Contact Point during Raw Touch)
原文:#748 – 获得按下时对应位置点的大小(Getting the Size of a Contact Point during Raw Touch) 原文地址:https://wpf.2000things.com/2013/02/04/748-getting-the-size-of-a-contact-point-during-raw-touch/ 在低级别的触屏Touch 事件中,我们可以获得手指与屏幕接触的位置的面积大小。
954 0
|
SQL Oracle 关系型数据库
Online Data Files move
online data files move,move online,
1648 0
|
算法 C# 索引
算法题丨Move Zeroes
描述 Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
1133 0
|
Oracle 关系型数据库 测试技术
[20171204]guaranteed restore point.txt
[20171204]guaranteed restore point.txt --//昨天帮别人升级再次遇到关于相关问题,实际上主要问题在于升级文档没有完成后取消restore point的设置.
1252 0