Commit 8ae76fde4652b3aa43f31696491bae1fdaceb55d

Add `git tyrannize` alias
To be used after cloning to get sane branch naming.
Author: xaizek
Author date (UTC): 2023-10-21 11:54
Committer name: xaizek
Committer date (UTC): 2023-10-21 11:54
Parent(s): b240b4487522a08e25a9a1f5b299314dd164c4e4
Signing key: 99DC5E4DB05F6BE2
Tree: 7a5a19b007caad05996a4082e81eec5dc28bb751
File Lines added Lines deleted
gitconfig 2 0
File gitconfig changed (mode: 100644) (index 3051404..7ed0751)
41 41 git config --local --add "remote.$1.push" refs/heads/master:refs/heads/main \n\ git config --local --add "remote.$1.push" refs/heads/master:refs/heads/main \n\
42 42 git config --local branch.master.merge refs/heads/main \n\ git config --local branch.master.merge refs/heads/main \n\
43 43 } && run } && run
44 # to be used after cloning to get sane branch naming
45 tyrannize = !git branch --move main master && git enslave
44 46
45 47 [color] [color]
46 48 # enable coloring of git output # enable coloring of git output
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dotfiles

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dotfiles

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master