question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can be stage files on current branch

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Quineonecommented, Mar 24, 2020

@tierninho , I think this should be a feature request, nice to have. Thank you ^-^.

0reactions
billygriffincommented, Apr 13, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found