1

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

Vadim Kotov
  • 7,766
  • 8
  • 46
  • 61
Abhilash
  • 2,644
  • 2
  • 26
  • 58

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,129,465
  • 480
  • 4,036
  • 4,755