Linux-next: diferenças entre revisões

De WikiPeida
Ir para a navegação Ir para a procura
Criou a página com "== Setup == <console> ##g##$##!g## git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ##g##$##!g## cd linux ##g##$##!g## git remote add linux-next..."
 
Sem resumo de edição
 
(Há 3 edições intermédias do mesmo utilizador que não estão a ser apresentadas)
Linha 1: Linha 1:
== Setup ==
== Setup ==


<console>
<syntaxhighlight lang="bash">
##g##$##!g## git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
##g##$##!g## cd linux
cd linux
##g##$##!g## git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
##g##$##!g## git fetch linux-next
git fetch linux-next
##g##$##!g## git fetch --tags linux-next
git fetch --tags linux-next
</console>
</syntaxhighlight>
 


== Update ==
== Update ==


<console>
<syntaxhighlight lang="bash">
##g##$##!g## git checkout master
git checkout master
##g##$##!g## git remote update
git remote update
##g##$##!g## git checkout next-20181015
git tag -l "next-*" | tail
</console>
git checkout next-20181015
</syntaxhighlight>


== Fix Drama ==
== Fix Drama ==


<console>
<syntaxhighlight lang="bash">
##g##$##!g## git reset --hard
git reset --hard
</console>
</syntaxhighlight>
 
== Ligações externas ==
* [https://www.kernel.org/doc/man-pages/linux-next.html Working with linux-next]


[[Category:Linux]]
[[Category:Linux]]

Edição atual desde as 21h18min de 7 de março de 2026

Setup

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch linux-next
git fetch --tags linux-next

Update

git checkout master
git remote update
git tag -l "next-*" | tail
git checkout next-20181015

Fix Drama

git reset --hard

Ligações externas