reverse proxy
<Location /dir>
ProxyPass http://127.0.0.1:port/
ProxyPassReverse http://127.0.0.1:port/
Require all granted
</Location>
Lanjutan Install archlinux
  • GUI: xorg-server, xf86-video-*, lemurs, i3-wm, i3lock, i3status, xss-lock, dmenu, dunst, lxrandr, rxvt-unicode
  • Media: feh, viewnior, scrot, flameshot
  • Audio: pipewire, pipewire-pulse, pavucontrol, blueman
  • Jaringan: openssh, rsync, lighttpd, chromium
  • Lainnya:
    • git (VCS)
    • cups (Print)
    • lxsession-gtk3/lxpolkit (polkit)
    • File manager: pcmanfm-gtk3, gvfs, udisks2, xarchiver, zip, unzip
    • conky (System monitor)
    • base-devel (AUR)
    • pacman-contrib
  • masalah elantouch
    /etc/modprobe.d/elantouch.conf > blacklist elan_i2c
git submodule

mulai

git submodule add url

clone/pull

git clone/pull --recurse-submodules

already clone/pull

git submodule update --init --recursive

branch master sebelum push

git checkout master

push detached HEAD

git push origin HEAD:master
Gabungkan Beberapa Repo Menggunakan Git

Persiapan repo yang mau digabungkan

cd RepoA (1)

git checkout master (2)
git pull (3)
git checkout -b prepare_monorepo (4)

mkdir -p repo-a (5)
shopt -s extglob (6)
git mv -k !(repo-a) repo-a (7)
shopt -u extglob

git rm -f --ignore-unmatch .gitattibutes (8)
git rm -f --ignore-unmatch .gitignore (8)
git rm -f --ignore-unmatch .editorconfig (8)

git commit -m "Preparing for monorepo merge" (9)
  1. Switch to RepoA directory
  2. We can only merge one branch of both RepoA and RepoB, in this case master
  3. Update with all remote changes
  4. Create a new branch prepare_monorepo
  5. Create a subdirectory repo-a. This directory is the directory in which the content will end-up in MonoRepo.
  6. Extended globbing allows pattern matching
  7. Move everything into repo-a, excluding the directory repo-a itself
  8. Some files are not moved with the git mv command. .gitattributes , .gitignore and .editorconfig are a good example. Since we will have a complete new repository MonoRepo, it will have these files already. Therefore, we need to remove them from the old repository.
  9. Commit the change to RepoA. There is no need to push it to the remote, since we only use this change locally to merge in the next step.

Proses penggabungan ke repo baru

cd ../MonoRepo (1)

git remote add -f RepoA ../RepoA (2)
git merge -m "Integrating RepoA" RepoA/prepare_monorepo --allow-unrelated-histories (3)
git remote rm RepoA (4)
git push (5)
  1. Switch to the MonoRepo directory
  2. Add the directory ../RepoA as a remote with name RepoA
  3. Perform the actual merge with unrelated histories
  4. Remove the remote RepoA we created earlier
  5. Push the merge history to the origin remote of MonoRepo

Hapus branch sementara

cd ../RepoA
git checkout --force master
git branch -D prepare_monorepo
cd ../

Now repeat all the steps for RepoB!

Sumber: jdriven.com/blog/2021/04/How-to-merge-multiple-git-repositories

Blogger Post Heading
<b:if cond='data:blog.pageType == "item"'>
<b:loop values='data:post.labels' var='label'>
<div class='breadcrumb'>
<a expr:href='data:label.url'><data:label.name/></a>
</div>
<b:if cond='not data:label.isLast'>/</b:if>
</b:loop>
</b:if>
    
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<!--h3 class='post-title entry-title' itemprop='name'-->
<b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
<h3 class='post-title entry-title' itemprop='name'><a expr:href='data:post.link ? data:post.link : data:post.url'><data:post.title/></a></h3>
<b:else/>
<h1 class='post-title entry-title' itemprop='name'><data:post.title/></h1>
</b:if>
<!--/h3-->
</b:if>