• Sign in
  • Register
  • Home
  • Projects
  • Help

GammaLib

  • Overview
  • Activity
  • Roadmap
  • Issues
  • News
  • Documents
  • Wiki
  • Links
  • Forums
  • Files
  • Repository

Сontents

How to copy a file from one branch into another?

Users¶

Release notes
Download
Documentation
Performance

Developers¶

Submission guidelines
Contributing to GammaLib
Git workflow
Coding Conventions
Development Guidelines
Development Notes
Development HowTo
Deployment

Management¶

Continuous Integration
Code release
Sidebar

Wiki

Start page
Index by title
Index by date

Tags

contaminant TO_REMOVE SDD OUTDATED TIPS algo risque

Wiki » Development HowTo »

Updated almost 14 years ago by Knödlseder Jürgen

How to copy a file from one branch into another?¶

Checkout the branch into which you want to copy the file

$ git checkout destination

and copy the file from the other branch using
$ git checkout other_branch file_to_copy.txt

Also available in: PDF HTML TXT

Loading...
Powered by Redmine © 2006-2015 Jean-Philippe Lang