1

Is there any shortcut available to copy entire source code from a bitbucket file without selecting view raw file option?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Abhilash
  • 2,864
  • 3
  • 33
  • 67

1 Answers1

2

You can try and archive the remote repo for one file, using git archive --remote.

git archive --remote=ssh://host/pathto/repo.git HEAD README.md | tar -xO
Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250