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.

Autodetect current branch

See original GitHub issue

Hello!

Why CLI tool doesn’t apply current branch automatically?

It can try to detect VCS type and get the current branch.

For example, git branch | grep -e "^*" | cut -d' ' -f 2.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexWayfercommented, Apr 10, 2018

We pull only those files you specify during configuration, no need to upload everything of course. There will be crowdin.yml file created in your repository, it has the same configuration as CLI but here you need to specify only files section, no need to specify your project credentials!

But how Crowdin servers will get crowdin.yml and localization files without git clone/pull?

Also you may have a separate repo where only files for localization are being hosted, nothing else. It’s very common approach right now

And use git submodules? I’m not sure that this is a good idea. Also, what should I do with project branches (about which I wrote) in this case? Create two branches with the same name in two repositories? Oh, come on.

0reactions
ihor-popykcommented, Apr 10, 2018

@Andrulko @AlexWayfer I am going to implement this feature. Thanks for suggestion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature finish cannot finish current branch in batch mode #270
When in batch (non-interactive) mode, there is no option to finish the current branch, if the current branch is a feature branch. This...
Read more >
git: fatal unable to auto-detect email address - Stack Overflow
17 Answers 17 · Open git that you have installed · Now we have to assign our user name and email id ·...
Read more >
Auto detect configuration and git aliases - Azure DevOps
The Azure DevOps Extension evaluates if your current working directory is an Azure Repos git repository to auto detect configuration setting ...
Read more >
Overview | SonarQube Docs
SonarScanners running in GitLab CI/CD and Jenkins can automatically detect branches and Merge or Pull Requests by using environment variables set in the...
Read more >
git auto-complete for *branches* at the command line?
Ok, so I needed the git autocompletion script. I got that from this url using the following command in the Terminal app:
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