Can be stage files on current branch
See original GitHub issueDescribe the feature or problem you’d like to solve
Want be able to stage files on current branch
Proposed solution
Make the pre-commit works correctly
Additional context
1.Smartgit stage feature make it works when run pre-commit: lint-staged
2.Github Desktop no idea how to stage files on current branch
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
git - How to stage files only in one branch? - Stack Overflow
Staging is just a process of selecting changes that will be included in the commit. It is entirely agnostic of the branch that...
Read more >Stage & Commit Files: git add, git commit, & git log free tutorial
1. In your terminal (Terminal, Git Bash, or Windows Command Prompt), navigate to the folder that is your Git repo. · 2. Enter...
Read more >Git Add | Adding Changes to Git's Staging Area - Initial Commit
Staging is used to track new files in Git and update existing files. All file changes must be staged before they can be...
Read more >2.2 Git Basics - Recording Changes to the Repository
Tracking New Files ... You can tell that it's staged because it's under the “Changes to be committed” heading. If you commit at...
Read more >Git Command Overview | GPI
This will merge the branch called “branchname” into your current branch. So if you want to merge “branchname” into the master branch, you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tierninho , I think this should be a feature request, nice to have. Thank you ^-^.
Hi @Quineone - unfortunately with any design choice there are tradeoffs, and with our decision to abstract the concept of “staging files” in Desktop, it sounds like maybe your pre-commit hooks aren’t working properly. Introducing the concept of staging files isn’t something we’re considering because overall the feedback has been very positive about our approach, and I’m sorry it falls down for you. If you want to share more detail about the pre-commit hooks that aren’t working properly and we can think about ways we can solve the problem without a fundamental redesign of the app, we’re open to looking into that. Thanks!