Download for Linux and Unix. It is easiest to install Git on Linux using the preferred package manager of your Linux distribution. If you prefer to build from source, you can find the tarballs on kernel.org. For the latest stable version for your release of Debian/Ubuntu # apt-get install git.
This should perform the trick: git duplicate -department v3.13 git://git.kernel.org/pub/scm/linux/kerneI/git/torvalds/Iinux.git Alternatively what I usually perform (as I can move freely switch between versions) git fetch linux-next git get -labels linux-next. brand-new label v3.18 ->v3.18. brand-new tag v3.18-rc3 ->v3.18-rc3.
fresh tag v3.18-rc4 ->v3.18-rc4. new tag v3.18-rc5 ->v3.18-rc5. new tag v3.18-rc6 ->v3.18-rc6. brand-new label v3.18-rc7 ->v3.18-rc7. fresh tag v3.19-rc1 ->v3.19-rc1.
new tag v3.19-rc2 ->v3.19-rc2 git checkout -c mybranch v3.18.
Git private server There are usually a few ways to web host your personal Linux machine. Git on Linux, several members, ssh access This set up is maybe the simplier oné, and it is usually ideal for really few contributors.
Presumptions. All members will have got ssh gain access to to the server Prepare de machine Very first thing to do, can be to make the team in the server for the members.
Group add git-users Following step, make the users for the contributors. Useradd -m -g initialgroup -Gary the gadget guy additionalgroups -s loginshell username Making use of that design template develop the customers with something Iike this: useradd -m -gary the gadget guy customers -G git-users -t /bin/bash factor1 Repeat for as many customers as you need.
Established the security passwords passwd contributor1 Create the repository compact disc /usr/talk about mkdir /usr/share/git-repos git init -bare /usr/talk about/git-repos/projéct.git Assign pérmissions chown -Ur root:git-users /usr/share/git-repos/ It is usually now ready to accept push, pull and clone. Duplicate it git clone contributor1@server-ip:/usr/share/git-repos/project-git Add a remote control git remote add nearby contributor2@server-ip:/usr/talk about/git-repos/project-git.