This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:gitserver [2018/06/29 03:30] – oemb1905 | computing:gitserver [2019/11/09 23:01] – oemb1905 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* **Jonathan Haack** | * **Jonathan Haack** | ||
* **Haack' | * **Haack' | ||
- | * **netcmnd@jonathanhaack.com** | + | * **netcmnd@jonathanhaack.com** |
------------------------------------------- | ------------------------------------------- | ||
Line 47: | Line 47: | ||
This method has everyone using the user git in order to clone the repository, and unless tweaked will allow users shell access to the server. | This method has everyone using the user git in order to clone the repository, and unless tweaked will allow users shell access to the server. | ||
- | git remote set-url origin ssh://sexa@10.28.88.2:/ | + | git remote set-url origin ssh://user@10.28.88.2:/ |
- | git remote set-url origin ssh://sexa@10.28.88.2:/ | + | git remote set-url origin ssh://user@10.28.88.2:/ |
+ | git remote set-url origin ssh:// | ||
+ | git remote set-url origin ssh:// | ||
| | ||
+ | Of course, to clone the repository: | ||
| | ||
+ | git clone ssh:// | ||
+ | | ||
+ | The restricted shell for git user may need to be restored to normal log in shell for certain repository servers. | ||
+ | |||
+ | git: | ||
+ | | ||
+ | File and directory permission recommendations for git repository contents: | ||
+ | |||
+ | find .git -type d | xargs chmod 755 | ||
+ | find .git/ | ||
+ | find .git -type f | grep -v /objects/ | xargs chmod 644 | ||
+ | | ||
+ | Make nano default editor | ||
+ | git config --global core.editor " | ||
+ | | ||
+ | This tutorial is a designated " | ||
+ | |||
+ | --- // |