Update Wichtige Befehle
parent
b12bdadbb9
commit
4f2b6ff0a5
@ -4,33 +4,33 @@
|
|||||||
> ### SSH Tunnel lokal
|
> ### SSH Tunnel lokal
|
||||||
> - ssh -N -L 3306:127.0.0.1:3306 fsst@fabianschieder.com
|
> - ssh -N -L 3306:127.0.0.1:3306 fsst@fabianschieder.com
|
||||||
|
|
||||||
> ### Commit Account fix
|
>> ### Commit Account fix
|
||||||
>
|
>>
|
||||||
>> - git config --global --list
|
>>> - git config --global --list
|
||||||
>> - git config --global user.email "fabian.schieder.1010@gmail.com"
|
>>> - git config --global user.email "fabian.schieder.1010@gmail.com"
|
||||||
>> - git config --global user.name"fsst"
|
>>> - git config --global user.name"fsst"
|
||||||
>
|
>>
|
||||||
>> - git clone git@fabianschieder.com:fabian/Geizkragen.git
|
>>> - git clone git@fabianschieder.com:fabian/Geizkragen.git
|
||||||
>> - cd Geizkragen
|
>>> - cd Geizkragen
|
||||||
>
|
>>
|
||||||
>> - git filter-repo --email-callback '
|
>>> - git filter-repo --email-callback '
|
||||||
>> if email == b"fabian.schieder@el.htl-hl.ac.at":
|
>>> if email == b"fabian.schieder@el.htl-hl.ac.at":
|
||||||
>> return b"fabian.schieder.1010@gmail.com"
|
>>> return b"fabian.schieder.1010@gmail.com"
|
||||||
>> return email
|
>>> return email
|
||||||
>> '
|
>>>'
|
||||||
>
|
>>
|
||||||
>> - git remote -v
|
>>> - git remote -v
|
||||||
>> - git remote add origin git@fabianschieder.com:fabian/Geizkragen.git
|
>>> - git remote add origin git@fabianschieder.com:fabian/Geizkragen.git
|
||||||
>
|
>>
|
||||||
>> - git push --force origin --all
|
>>> - git push --force origin --all
|
||||||
>> - git push --force origin --tags
|
>>> - git push --force origin --tags
|
||||||
>
|
>>
|
||||||
>> - git fetch origin && git reset --hard origin/main
|
>>> - git fetch origin && git reset --hard origin/main
|
||||||
>
|
>>
|
||||||
>> #### Wenn Commits doppelt
|
>>> #### Wenn Commits doppelt
|
||||||
>> - git reset --hard 5625a8ec62
|
>>> - git reset --hard 5625a8ec62
|
||||||
>> - git push --force origin main
|
>>> - git push --force origin main
|
||||||
>
|
>>
|
||||||
>> #### Aktuellen Repository Stand fetchen
|
>> #### Aktuellen Repository Stand fetchen
|
||||||
>> - git fetch origin
|
>> - git fetch origin
|
||||||
>> - git reset --hard origin/main
|
>> - git reset --hard origin/main
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user