Skip to content

Rename git-switch to git-switch-branch #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2020
Merged

Rename git-switch to git-switch-branch #120

merged 1 commit into from
May 13, 2020

Conversation

unixorn
Copy link
Owner

@unixorn unixorn commented May 13, 2020

Rename git-switch to git-switch-branch now that git 2.23 added a git-switch in core

It now also only looks at the first match in cases where there are multiple matching branches so that it won't fail.

Closes #119

Description

Type of changes

  • A helper script
  • A link to an external resource like a blog post or video
  • Text cleanups/updates

Checklist:

  • All new and existing tests pass.
  • Any scripts added use #!/usr/bin/env interpreter instead of potentially platform-specific direct paths (#!/bin/sh is an ok exception)\
  • Scripts are marked executable
  • Scripts do not have a language file extension unless they are meant to be sourced and not run standalone. No one should have to know if a script was written in bash, python, ruby or whatever. Not including file extensions makes it easier to rewrite the script in another language later without having to change every reference to the previous version.
  • I have added a credit line to README.md for the script
  • If there was no author credit in a script added in this PR, I have added one.
  • I have confirmed that the link(s) in my PR are valid.
  • I have read the CONTRIBUTING document.

License Acceptance

  • This repository is Apache version 2.0 licensed (some scripts may have alternate licensing inline in their code) and by making this PR, I am contributing my changes to the repository under the terms of the Apache 2 license.
…witch in core

It now also only looks at the first match in cases where there are
multiple matching branches so that it won't fail.

Closes #119
@codeclimate
Copy link

codeclimate bot commented May 13, 2020

Code Climate has analyzed commit 00e0d62 and detected 0 issues on this pull request.

View more on Code Climate.

@unixorn unixorn merged commit 75d8f63 into master May 13, 2020
@unixorn unixorn deleted the rename-git-switch branch May 13, 2020 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant