Use Git, GitLab & GitHub to manage dotfiles. My workflow for Qtile, Hyprland configs & others.

Поділитися
Вставка
  • Опубліковано 15 лип 2024
  • In this video, I will show you my workflow to manage my Linux configuration, the dotfiles, with git, GitLab and GitHub.
    Git is a version control system that helps track changes in source code during software development. GitLab and GitHub are web-based platforms that provide hosting for Git repositories, enabling collaboration, issue tracking, and more. They serve as platforms for managing and sharing code among developers and teams.
    Links:
    git-scm.com
    gitlab.com
    github.com
    Git has a huge amount of features and commands. I will show you the basics of git and how you can use it to manage your dotfiles.
    I demonstrate my workflow with the configurations for Qtile and the platform GitLab. But all commands will also work with any other window manager like Hyprland, i3, etc and instead of GitLab with GitHub.
    Additional learning resources:
    docs.github.com/en/get-starte...
    www.atlassian.com/git/glossar...
    www.digitalocean.com/communit...
    www.linux.com/training-tutori...
    Learn how you can use Linux for your work.
    Linux is a great Operating System (OS) to support me daily at my business. Linux is stable, fast and you can customize it to individual needs. In this channel, I want to share my setup of Arch Linux and show how I use my system as a daily driver.
    My name is Stephan Raabe and I'm a Digital Marketing Professional with more than 20 years of experience in B2B Digital Marketing, computer science and web technologies.
    This channel provides tutorials about Linux, the distribution Arch, window managers (e.g. Qtile) and desktop environments, and Microsoft 365 (Office 365) plus other cloud based services that I use in Digital Marketing activities.
    👉 ML4W Dotfiles for Hyprland: gitlab.com/stephan-raabe/dotf...
    👉 ML4W Dotfiles Wiki: gitlab.com/stephan-raabe/dotf...
    👉 ML4W Hyprland Starter: github.com/mylinuxforwork/hyp...
    👉 ML4W Hyprland Starter Wiki: github.com/mylinuxforwork/hyp...
    👉 ML4W Hyprland Settings App: github.com/mylinuxforwork/hyp...
    👉 Homepage: www.ml4w.com
    👉 Discord: / discord
    👉 MyChatGPT Python Script: github.com/mylinuxforwork/cha...
    00:00 Overview
    01:24 Preparing the dotfiles
    03:24 Create a repository on GitLab
    04:48 Create a repository on GitHub
    05:33 Clone the new repository
    06:16 First commit and push
    08:29 Adding the Qtile folder
    11:04 Working with symbolic links
    15:28 Create a script for symbolic links
    17:07 Create aliases for git commands
    19:33 Public and private repositories
    21:01 Releases and tags
    22:41 Synchronize your files with git pull
    #linux #tutorial #git #gitlab #github #learning #hyprland #archlinux

КОМЕНТАРІ • 37

  • @corrie1688
    @corrie1688 6 місяців тому +2

    well done Stephan, another outstanding video filled with lots of learning, tips and tricks. Thank you for sharing your knowledge and amazing work with us. Have a great Christmas and New year

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому

      Thank you so much. Merry Christmas and a great new year

  • @NormTurtle
    @NormTurtle 6 місяців тому

    just demonstrate the ACTUAL and Literally way most people does it . hats off for not showing some fancy things like use that app use that script use that this ..

  • @MARS-ALIVE
    @MARS-ALIVE 6 місяців тому

    Thank you for all your hard work, i love your Hyprland configs!! :)

  • @donaldwilliams6821
    @donaldwilliams6821 6 місяців тому

    thank you for this. These short focused videos are fantastic! I look forward to many more. Happy Holidays!

  • @Matt-kabob
    @Matt-kabob 6 місяців тому

    Thank you for the informative video . I hope you had a good Christmas.

  • @Emancipatriot
    @Emancipatriot 6 місяців тому

    Happy holidays my friend. Thank you.

  • @gabrielfernandez8975
    @gabrielfernandez8975 6 місяців тому

    Otro video genial Stephan, gracias por publicar tu trabajo. Feliz navidad y próspero año nuevo. Saludos desde Córdoba, Argentina.

  • @plazmax
    @plazmax 6 місяців тому

    Hello, the explanation is really nice, simple and understandable. Thank you very much.

  • @lionux6506
    @lionux6506 6 місяців тому

    Cool 😎 Thanks 👍🏻

  • @terrydaktyllus1320
    @terrydaktyllus1320 5 місяців тому

    Thank you as a new subscriber to your channel (due to finding this video).
    I have been trying to find a good dotfile management technique for some time now, especially as I run Gentoo Linux on many PCs. I have tried git bare repositories, yadm and stow but they all have limitations, especially as I am fairly new to git (but a computer techie and UNIX / Linux person for many years).
    The technique you show here is definitely the most straightforward and simple one to use, even with creating links manually (or with a script).
    One big disappointment for me with git bare repositories is the "messing around" you have to do to overwrite existing files with updated ones in the repository, this is an issue that many content creators here fail to point out as a big failing of doing it that way.

    • @mylinuxforwork
      @mylinuxforwork  5 місяців тому

      Yeah. This is sometimes a bit hard. But with aliases customized to my needs It’s working for me.

    • @terrydaktyllus1320
      @terrydaktyllus1320 5 місяців тому

      @@mylinuxforwork I also prefer your shortcut method because it keeps changes with the git repository directory, rather than them spread out across you home directory - much better for security and easier to track for removing any sensitive data if you put the dotfiles on a public repository.

  • @kaminoeugene
    @kaminoeugene 6 місяців тому

    Fröhliche Weihnachten! Wäre nice wenn du mal ein indepth Video über Pywal oder über allgemeine nützliche Scripts wie ein Wofi-Wallpaperpicker machen würdest

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому +1

      Danke für Dein Feedback. Werde auf Basis des kommenden Release 2.7 einige Details in eigenen Videos behandeln. Pywal ist ein gutes Thema. Und der neue Wallpaper Picker in 2.7 könnte auch funktionieren.

  • @ABDULLAH-eg1ts
    @ABDULLAH-eg1ts 6 місяців тому

    All love stephan ,your dotfiles are just beautiful but can u take some ideas out of hyprdots as dolphin file manager theming better sddm themes make it more fancy❤

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому

      Hyprdots are awesome. And isn't it great that everyone has an own style? Let's see what's next.

    • @Emancipatriot
      @Emancipatriot 6 місяців тому +1

      You can copy your config for dolphin from hyprdots to your Ml4W hyprland config. I have taken elements from both configurations as well as from jakoolit. You’ll be thrilled after you make it into your own perfect combination of everything you like.

  • @mbabai20
    @mbabai20 6 місяців тому

    very good
    We need a video about how to type install.sh file

  • @no-prophet
    @no-prophet 6 місяців тому

    What is that red border color? When I set the border to red color, it's more like pink, not that deep red.

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому +1

      That is the default color in Qtile. #ff0000 in gitlab.com/stephan-raabe/myqtiledotfiles/-/blob/main/qtile/config.py?ref_type=heads

  • @thomaskeyzers3295
    @thomaskeyzers3295 6 місяців тому

    hallo Stephan. ich würde mich sehr über ein Grundlagen - Video von dir freuen das sich insbesonderes an die Anfänger mit der hyprland WM richtet. Zum beispiel wie kann ich in der Waybar den Starter Chromium durch einen anderen Browser ersetzen. Ich bönötige auch einige Anzeigen in der Status Leiste nicht z.B. bluetooth und IP Adresse. Das größte Problem zur zeit habe ich das ich manchmal keinen Zugriff mit der Maus auf verschiedene Dinge in der Waybar habe. Es öffnet sich dann immer nur Rofi. Bei mir wird nach einiger Zeit der Bildschirm Orange-Rot. Ich denke mal dass es der Standby Modus ist. Ich weiß aber nicht wie ich den Bildschirm wieder aktivieren kann. Mit der Maus oder den Tasten am Keyboard tut sich da nichts. Ich wünsche dir ein frohes Weihnachtsfest und ein erfolgreiches neues Jahr.

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому

      Hi. Danke Dir für Dein Feedback. Wenn du die neueste Version der dotfiles verwendest, kannst du einige Deiner Anpassungen direkt in der Settings App vornehmen. Chromium ersetzen durch einen anderen Browser, Bluetooth entfernen. Ich veröffentliche nächste Woche mit dem final Release 2.7 ein Video dazu. Ich denke auch, dass dein orangener Screen mit dem Standby zu tun hat. Nimm doch mal die Zeile mit lockscreentime aus dieser Datei raus. gitlab.com/stephan-raabe/dotfiles/-/blob/main/hypr/conf/autostart.conf?ref_type=heads Starte danach neu.

    • @thomaskeyzers3295
      @thomaskeyzers3295 6 місяців тому

      @@mylinuxforwork leider hat es nichts geholfen die Zeile zu entfernen.

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому

      @@thomaskeyzers3295 schwierig, dir ohne weitere Infos zu helfen. Kannst du versuchen, die neueste Version der dotfiles zu installieren und alle packages neu zu installieren?