- Samsung Galaxy S22 Ultra - na, kinél van toll?
- Yettel topik
- Megérkeztek a Xiaomi 15T sorozatának telefonjai Magyarországra
- Xiaomi 15 - kicsi telefon nagy energiával
- Google Pixel topik
- Poco F7 – bajnokesélyes
- Xiaomi 15T Pro - a téma nincs lezárva
- iPhone topik
- Xiaomi 14T - nem baj, hogy nem Pro
- Motorola Edge 50 Pro - több Moto-erő kéne bele
Hirdetés
(használd a CYBSEC25PH kuponkódot további 20 ezer ft kedvezményért!)
-
Mobilarena
Mára a ProHardver!/IT.News Fórum is nagylétszámú Linuxban jártas taggal büszkélkedhet. Nehéz szinteket felállítani egy olyan rendszer ismeretében, ami annyira sokrétű, hogy teljesen szinte lehetetlen megismerni minden egyes részét. Azt azonban mindenki tudja, hogy kezdő-e vagy sem. Elsősorban nekik szólnak az alábbiak, de érdemes mindenkinek elolvasnia, mint útjelző táblát.
Új hozzászólás Aktív témák
-
Jester01
veterán
válasz
Jester01 #14887 üzenetére
Íme:
$ git init mine
Initialized empty Git repository in /tmp/mine/.git/
$ cd mine
$ git config user.name 'Me Myself'
$ git config user.email 'me@example.com'
$ echo mine > test.txt
$ git add test.txt
$ git commit -m 'My commit'
[master (root-commit) 7afaf52] My commit
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 test.txt
$ cd ..
$ git clone mine other
Cloning into other...
done.
$ cd other
$ git config user.name 'A U Thor'
$ git config user.email 'author@example.com'
$ echo other > test.txt
$ git add test.txt
$ git commit -m 'Other commit'
[master 0ac3ca2] Other commit
1 files changed, 1 insertions(+), 1 deletions(-)
$ cd ../mine
$ git fetch ../other
remote: Counting objects: 5, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From ../other
* branch HEAD -> FETCH_HEAD
$ git cherry-pick 0ac3ca2
Finished one cherry-pick.
[master 4ea18f5] Other commit
Author: A U Thor <author@example.com>
1 files changed, 1 insertions(+), 1 deletions(-)
$ git log --pretty=full
commit 4ea18f55d353900b46e18ae6d099063257adcda3
Author: A U Thor <author@example.com>
Commit: Me Myself <me@example.com>
Other commit
commit 7afaf5285c67bf39acec42f8dbd312724dccc49e
Author: Me Myself <me@example.com>
Commit: Me Myself <me@example.com>
My commit
$ cat test.txt
other
Új hozzászólás Aktív témák
- Nagyakkus, mobilnetes - Dell Latitude 5330 i3-1215U 6mag! 16GB 1000GB 13.3" FHD 1 év gar
- Törött Apple iMac 19.2 i5-8500 Radeon Pro 560X 4GB 16GB 256GB SSD 21.5" 4K Retina
- AKCIÓ! MSI Z87-G43 GAMING Z87 chipset alaplap garanciával hibátlan működéssel
- ÁRCSÖKKENTÉS Menő retró konfig: Q9550, Gigabyte P43, 4GB RAM, ASUS GT730
- Azonnali készpénzes Intel i3 i5 i7 i9 12/13/14 gen processzor felvásárlás személyesen / csomagküldés
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: Laptopműhely Bt.
Város: Budapest