Git: Difference between revisions

import>User3412
No edit summary
import>User3412
improve the article
Line 15: Line 15:
all the git commands must be run in an terminal (for linux X.org clients,use the terminal emulator provided with the DE,use xterm or use another terminal emulator that works for you and for linux wayland clients,use weston-terminal for weston or use another terminal emulator compatible with wayland (if you want to run X.org terminal emulators with no wayland compability,install and enable Xwayland (for arch linux, its "pacman -S xorg-xwayland" without quotes (")))
all the git commands must be run in an terminal (for linux X.org clients,use the terminal emulator provided with the DE,use xterm or use another terminal emulator that works for you and for linux wayland clients,use weston-terminal for weston or use another terminal emulator compatible with wayland (if you want to run X.org terminal emulators with no wayland compability,install and enable Xwayland (for arch linux, its "pacman -S xorg-xwayland" without quotes (")))


now once you created your first git repository,put them into your web server and optionally use cgit so that is easy to view the source or if not using cgit,make an instructions like this: git clone ''webserver.com''/''repo''.git (replace ''webserver.com'' with the domain and replace ''repo'' with the repo name, or if using ip to share repo,make an instructions like this: git clone ''1.2.3.4''/''repo''.git (replace ''1.2.3.4'' with the ip you shared and/or the ip you found and replace ''repo'' with the repo name
now once you created your first git repository,put them into your web server and optionally use cgit so that is easy to view the source or if not using cgit,make an instructions like this: git clone ''webserver.com/repo''.git (replace ''webserver.com'' with the domain and replace ''repo'' with the repo name, or if using ip to share repo,make an instructions like this: git clone ''1.2.3.4/repo''.git (replace ''1.2.3.4'' with the ip you shared and/or the ip you found and replace ''repo'' with the repo name


==Conclusion==
==Conclusion==


it is very good,but it is very hard to learn since its cli-based,but however to view an repo without git program,one can use cgit
it is very good,but it is very hard to learn since its cli-based,but however to view an repo without git program,one can use cgit and theres some 3rd-party git gui


==Links
==Links
Retrieved from "https://collab.st/Git"