Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 36,942
    • Issues 36,942
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,427
    • Merge requests 1,427
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #4541

Closed (moved)
Open
Created Dec 19, 2017 by James Ramsay (ex-GitLab)@jramsay-gitlab🔴Contributor

Add ability to stage individual files to commit in multi-file editor

It's easy to end up editing many files, but only wanting to commit changes to a few of them, to keep each commit small or because some changes should be discarded. For this reason git clients allow individual files to be changed, even individual changed lines. We should support file level staging as soon as possible.

Design

details:

  • icons are greyscale unless a change is present in that category

image

image

  • Where to find the icons: Search staged and unstaged on gitlab-svgs.

Note: the unstaged icon might look slightly different from mockups

image

  • Actions on hover (stage, discard) (unstage)
Edited Feb 22, 2018 by Dimitrie Hoekstra
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking