⇤ ← Revision 1 as of 2015-02-03 21:20:08
743
Comment:
|
767
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
1. Create repo with $ git init --bare repository | 1. Create repo with $ '''git init --bare repository''' |
Line 19: | Line 19: |
1. On client pc clone with $ git clone git@hostname:21:repository | 1. On client pc clone with $ '''git clone git@hostname:21:repository''' |
Line 21: | Line 21: |
1. git commit -a # Commit all changes to the local version of the repository 1. git push origin master # Push changes to the server's version of the repository |
1. '''git commit -a''' # Commit all changes to the local version of the repository 1. '''git push origin master''' # Push changes to the server's version of the repository |
Git
- Linux distributed version controll.
- Notes on using and setting up on Ubuntu.
- Setup new repo
- Log into server with git account
Create repo with $ git init --bare repository
- --bare can't be used $ .ssh/config:
Host githost HostName git.host.de Port 4019 User git
- --bare can't be used $ .ssh/config:
- On client edit
On client pc clone with $ git clone git@hostname:21:repository
- #(edit some files
git commit -a # Commit all changes to the local version of the repository
git push origin master # Push changes to the server's version of the repository
...