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.

Support for Git aliases

See original GitHub issue

🚀 Feature Proposal

Add support to Git aliases, and other Git features that are missing from meta-git.

Motivation

Some people (not sure how many but I’m one of them 😅) use Git aliases to ease up and speed up their development flow, by pretty much reimplementing the Git commands as done in meta-git we are missing this feature as we have to explicitly use the command that are redefined here.

This would also have the side effect of future proofing the package as we won’t need to do anything to support any newer Git commands.

Example

If for example you have the following in your ~/.gitconfig file

[aliases]
    a = add

You should be able to run meta git a instead of meta git add.

This also goes for other more complex aliases that could be placed.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mateodelnortecommented, Feb 6, 2020

I think it should just print out the commands a user can run to cleanup their workspace. I don’t think it should do anything destructive on the fs.

0reactions
stale[bot]commented, Jun 5, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Aliases - Git SCM
Before we move on to the next chapter, we want to introduce a feature that can make your Git experience simpler, easier, and...
Read more >
8 Git aliases that make me more efficient - Opensource.com
8 useful Git aliases · 1. Git status · 2. Git log --oneline · 3. Git last commit · 4. Git commit ·...
Read more >
10 git aliases for faster and productive git workflow - Snyk
10 git aliases for a faster and productive git workflow · Git status · Git checkout · Create a new branch and switch...
Read more >
Git Alias | Atlassian Git Tutorial
Git aliases are a powerful workflow tool that create shortcuts to frequently used Git commands. Using Git aliases will make you a faster...
Read more >
11. Aliases - GitHowTo
To learn how to setup aliases and shortcuts for git commands ... Best of all, the git hist command will help you avoid...
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