Ibrahim Fleifel
Ibrahim Fleifel

Reputation: 176

Copying files between 2 offline git repositories

I need to copy a group of files in differents folders from a specific git repository into another git repository offline. Any recommendations without getting into conflict

Upvotes: 0

Views: 61

Answers (1)

ziad
ziad

Reputation: 404

If the original folder where you copied the files from didn’t change then just copy the files that you changed to the original source paste and merge them there. Then do.

git add .
git commit -m “with remote changes”
git push -u

This should work without any issues.

Upvotes: 1

Related Questions