git commands
There are some useful git commands:
Setup a repository:
git init --bare
Copy an existing repository:
git clone drive:
Add file to repository:
git add file
git commit
git push
Get updated files from repository:
git fetch
Merge updated files to my workspace:
git merge
Setup a repository:
git init --bare
Copy an existing repository:
git clone drive:
Add file to repository:
git add file
git commit
git push
Get updated files from repository:
git fetch
Merge updated files to my workspace:
git merge
Comments
Post a Comment