Reputation: 35
I am learning Git.
I am developing a project on computer A. I am moving this project from computer A to computer B using pen drive. I pushed all my project files to repo from computer A. I HAVE SAME FILES ON COMPUTER B.
How can I merge my repository with computer B?
Thank you in advance.
Upvotes: 1
Views: 939
Reputation: 3320
You have to need first git clone
command for Computer B
Example
git clone [email protected]:whatever folder-name
If you update/change B Computer after clone you have to need git commit -am "message"
and then git push
.
Now you decide to work on Computer A first you have to need git fetch
command and then git pull
.
You can check status of your repository by writing command git status
Same Command will be applicable when you aging starting work on Computer B
Thank You....
Upvotes: 4
Reputation: 349
You could create a new branch and then merge pull request. Create pull request
Upvotes: 0