Skip to content
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

get-app ignores --branch argument #1242

Closed
barredterra opened this issue Dec 24, 2021 · 0 comments
Closed

get-app ignores --branch argument #1242

barredterra opened this issue Dec 24, 2021 · 0 comments
Assignees
Labels

Comments

@barredterra
Copy link
Collaborator

> bench --version
5.7.2
> bench get-app erpnext --branch version-13
Getting erpnext
$ git clone https://github.com/frappe/erpnext.git  --depth 1 --origin upstream
Cloning into 'erpnext'...
remote: Enumerating objects: 6639, done.
remote: Counting objects: 100% (6639/6639), done.
remote: Compressing objects: 100% (5320/5320), done.
remote: Total 6639 (delta 1491), reused 3346 (delta 1012), pack-reused 0
Receiving objects: 100% (6639/6639), 18.04 MiB | 6.57 MiB/s, done.
Resolving deltas: 100% (1491/1491), done.

As you can see in line 5, git pulls the default branch (develop) regardless of the --branch argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants